]> git.decadent.org.uk Git - nfs-utils.git/blobdiff - support/nfs/rpcdispatch.c
Removed warnings from rpcdispatch.c
[nfs-utils.git] / support / nfs / rpcdispatch.c
index 502fc5fe948c9238246e4741dc96d82eb942a089..984c646710a97f10d5d1fb443a7d4a3eba55e0c7 100644 (file)
@@ -27,12 +27,12 @@ rpc_dispatch(struct svc_req *rqstp, SVCXPRT *transp,
 {
        struct rpc_dentry       *dent;
 
-       if (rqstp->rq_vers > nvers) {
+       if (((int)rqstp->rq_vers) > nvers) {
                svcerr_progvers(transp, 1, nvers);
                return;
        }
        dtable += (rqstp->rq_vers - 1);
-       if (rqstp->rq_proc > dtable->nproc) {
+       if (((int)rqstp->rq_proc) > dtable->nproc) {
                svcerr_noproc(transp);
                return;
        }