diff options
author | Russ Cox <rsc@swtch.com> | 2012-10-21 11:25:08 -0400 |
---|---|---|
committer | Russ Cox <rsc@swtch.com> | 2012-10-21 11:25:08 -0400 |
commit | 0cfb376070a4bef7b4168a9795e025437e1be79f (patch) | |
tree | 9cea2b3befd9183d11ccc0745a81658d5956e4d7 /src/lib9p | |
parent | 34d629c8572518afe0a1d5698d7b184938e35a8f (diff) | |
download | plan9port-0cfb376070a4bef7b4168a9795e025437e1be79f.tar.gz plan9port-0cfb376070a4bef7b4168a9795e025437e1be79f.tar.bz2 plan9port-0cfb376070a4bef7b4168a9795e025437e1be79f.zip |
fix clang warnings reported by Tuncer Ayaz
R=rsc
http://codereview.appspot.com/6744054
Diffstat (limited to 'src/lib9p')
-rw-r--r-- | src/lib9p/srv.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib9p/srv.c b/src/lib9p/srv.c index a857375c..d12e3522 100644 --- a/src/lib9p/srv.c +++ b/src/lib9p/srv.c @@ -471,7 +471,7 @@ sread(Srv *srv, Req *r) respond(r, Eunknownfid); return; } - if(r->ifcall.count < 0){ + if((int32)r->ifcall.count < 0){ respond(r, Ebotch); return; } @@ -518,7 +518,7 @@ swrite(Srv *srv, Req *r) respond(r, Eunknownfid); return; } - if(r->ifcall.count < 0){ + if((int32)r->ifcall.count < 0){ respond(r, Ebotch); return; } |