plan9port

fork of plan9port with libvec, libstr and libsdb
Log | Files | Refs | README | LICENSE

commit 62b7fdc3485ffe4dfba3a54b92a6d9809325b429
parent 0afb7989d3ffb6d95133d62939edb688246f5cc0
Author: rsc <devnull@localhost>
Date:   Thu, 20 Apr 2006 20:24:58 +0000

warnings (andrey)

Diffstat:
Msrc/cmd/auth/factotum/log.c | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git 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;