From 0cfb376070a4bef7b4168a9795e025437e1be79f Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Sun, 21 Oct 2012 11:25:08 -0400 Subject: fix clang warnings reported by Tuncer Ayaz R=rsc http://codereview.appspot.com/6744054 --- src/lib9p/srv.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lib9p') 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; } -- cgit v1.2.3