diff options
author | rsc <devnull@localhost> | 2006-04-20 20:24:58 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2006-04-20 20:24:58 +0000 |
commit | 62b7fdc3485ffe4dfba3a54b92a6d9809325b429 (patch) | |
tree | 774483b52c307abe1b53e693ab1caa500c8aefc6 | |
parent | 0afb7989d3ffb6d95133d62939edb688246f5cc0 (diff) | |
download | plan9port-62b7fdc3485ffe4dfba3a54b92a6d9809325b429.tar.gz plan9port-62b7fdc3485ffe4dfba3a54b92a6d9809325b429.tar.bz2 plan9port-62b7fdc3485ffe4dfba3a54b92a6d9809325b429.zip |
warnings (andrey)
-rw-r--r-- | src/cmd/auth/factotum/log.c | 6 |
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; |