twarnings (andrey) - plan9port - [fork] Plan 9 from user space
(HTM) git clone git://src.adamsgaard.dk/plan9port
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 62b7fdc3485ffe4dfba3a54b92a6d9809325b429
(DIR) parent 0afb7989d3ffb6d95133d62939edb688246f5cc0
(HTM) Author: rsc <devnull@localhost>
Date: Thu, 20 Apr 2006 20:24:58 +0000
warnings (andrey)
Diffstat:
M src/cmd/auth/factotum/log.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
(DIR) diff --git a/src/cmd/auth/factotum/log.c b/src/cmd/auth/factotum/log.c
t@@ -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);
}
t@@ -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;