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/libsunrpc/fmt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libsunrpc/fmt.c') diff --git a/src/libsunrpc/fmt.c b/src/libsunrpc/fmt.c index 492497d5..a210c671 100644 --- a/src/libsunrpc/fmt.c +++ b/src/libsunrpc/fmt.c @@ -52,7 +52,7 @@ suncallfmt(Fmt *f) p = fmtProg[i]; if(p->prog == c->rpc.prog && p->vers == c->rpc.vers){ runlock(&fmtLock); - if(c->type < 0 || c->type >= p->nproc || (fmt=p->proc[c->type].fmt) == nil) + if((int32)c->type < 0 || c->type >= p->nproc || (fmt=p->proc[c->type].fmt) == nil) return fmtprint(f, "unknown proc %c%d", "TR"[c->type&1], c->type>>1); (*fmt)(f, c); return 0; -- cgit v1.2.3