rpcdispatch.c:40:20: warning: comparison between signed and unsigned
integer expressions
Signed-off-by: Steve Dickson <steved@redhat.com>
struct rpc_dtable {
struct rpc_dentry *entries;
struct rpc_dtable {
struct rpc_dentry *entries;
};
#define dtable_ent(func, vers, arg_type, res_type) \
};
#define dtable_ent(func, vers, arg_type, res_type) \
return;
}
dtable += (rqstp->rq_vers - 1);
return;
}
dtable += (rqstp->rq_vers - 1);
- if (((int)rqstp->rq_proc) > dtable->nproc) {
+ if (rqstp->rq_proc > dtable->nproc) {
svcerr_noproc(transp);
return;
}
svcerr_noproc(transp);
return;
}