diff options
Diffstat (limited to 'src/cmd/auth/factotum/fs.c')
-rw-r--r-- | src/cmd/auth/factotum/fs.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cmd/auth/factotum/fs.c b/src/cmd/auth/factotum/fs.c index 5e3a64e6..68e86289 100644 --- a/src/cmd/auth/factotum/fs.c +++ b/src/cmd/auth/factotum/fs.c @@ -349,18 +349,18 @@ fsread(Req *r) logread(r); break; case Qctl: - r->fid->aux = (void*)readlist((int)r->fid->aux, keylist, r); + r->fid->aux = (void*)(uintptr)readlist((uintptr)r->fid->aux, keylist, r); respond(r, nil); break; case Qneedkey: needkeyread(r); break; case Qprotolist: - r->fid->aux = (void*)readlist((int)r->fid->aux, protolist, r); + r->fid->aux = (void*)(uintptr)readlist((uintptr)r->fid->aux, protolist, r); respond(r, nil); break; case Qconv: - r->fid->aux = (void*)readlist((int)r->fid->aux, convlist, r); + r->fid->aux = (void*)(uintptr)readlist((uintptr)r->fid->aux, convlist, r); respond(r, nil); break; } |