aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2006-04-20 20:24:58 +0000
committerrsc <devnull@localhost>2006-04-20 20:24:58 +0000
commit62b7fdc3485ffe4dfba3a54b92a6d9809325b429 (patch)
tree774483b52c307abe1b53e693ab1caa500c8aefc6 /src
parent0afb7989d3ffb6d95133d62939edb688246f5cc0 (diff)
downloadplan9port-62b7fdc3485ffe4dfba3a54b92a6d9809325b429.tar.gz
plan9port-62b7fdc3485ffe4dfba3a54b92a6d9809325b429.tar.bz2
plan9port-62b7fdc3485ffe4dfba3a54b92a6d9809325b429.zip
warnings (andrey)
Diffstat (limited to 'src')
-rw-r--r--src/cmd/auth/factotum/log.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cmd/auth/factotum/log.c b/src/cmd/auth/factotum/log.c
index 6c2d69dd..239dca51 100644
--- a/src/cmd/auth/factotum/log.c
+++ b/src/cmd/auth/factotum/log.c
@@ -46,8 +46,8 @@ lbread(Logbuf *lb, Req *r)
{
if(lb->waitlast == nil)
lb->waitlast = &lb->wait;
- *(lb->waitlast) = r;
- lb->waitlast = (Req**)&r->aux;
+ *lb->waitlast = r;
+ lb->waitlast = (Req**)(void*)&r->aux;
r->aux = nil;
lbkick(lb);
}
@@ -57,7 +57,7 @@ lbflush(Logbuf *lb, Req *r)
{
Req **l;
- for(l=&lb->wait; *l; l=(Req**)&(*l)->aux){
+ for(l=&lb->wait; *l; l=(Req**)(void*)&(*l)->aux){
if(*l == r){
*l = r->aux;
r->aux = nil;