From: Ezra Peisach Date: Tue, 30 Dec 2008 14:04:51 +0000 (+0000) Subject: Signed/unsigned fixes X-Git-Tag: krb5-1.7-alpha1~125 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ed7267181ab5af027593cdfc25c7d6dc95e5f6e4;p=krb5.git Signed/unsigned fixes git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@21639 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/rpc/clnt_perror.c b/src/lib/rpc/clnt_perror.c index 0a52885a3..09b432294 100644 --- a/src/lib/rpc/clnt_perror.c +++ b/src/lib/rpc/clnt_perror.c @@ -233,7 +233,7 @@ static struct rpc_errtab rpc_errlist[] = { char * clnt_sperrno(enum clnt_stat stat) { - int i; + unsigned int i; for (i = 0; i < sizeof(rpc_errlist)/sizeof(struct rpc_errtab); i++) { if (rpc_errlist[i].status == stat) { @@ -339,7 +339,7 @@ static struct auth_errtab auth_errlist[] = { static char * auth_errmsg(enum auth_stat stat) { - int i; + unsigned int i; for (i = 0; i < sizeof(auth_errlist)/sizeof(struct auth_errtab); i++) { if (auth_errlist[i].status == stat) { diff --git a/src/lib/rpc/clnt_simple.c b/src/lib/rpc/clnt_simple.c index 65ae5c176..3649c8048 100644 --- a/src/lib/rpc/clnt_simple.c +++ b/src/lib/rpc/clnt_simple.c @@ -51,7 +51,9 @@ static char sccsid[] = "@(#)clnt_simple.c 1.35 87/08/11 Copyr 1984 Sun Micro"; static struct callrpc_private { CLIENT *client; SOCKET socket; - int oldprognum, oldversnum, valid; + rpcprog_t oldprognum; + rpcvers_t oldversnum; + int valid; char *oldhost; } *callrpc_private;