svn rev #21639: trunk/src/lib/rpc/

epeisach@MIT.EDU epeisach at MIT.EDU
Tue Dec 30 09:04:51 EST 2008


http://src.mit.edu/fisheye/changelog/krb5/?cs=21639
Commit By: epeisach
Log Message:
Signed/unsigned fixes


Changed Files:
U   trunk/src/lib/rpc/clnt_perror.c
U   trunk/src/lib/rpc/clnt_simple.c
Modified: trunk/src/lib/rpc/clnt_perror.c
===================================================================
--- trunk/src/lib/rpc/clnt_perror.c	2008-12-30 12:28:36 UTC (rev 21638)
+++ trunk/src/lib/rpc/clnt_perror.c	2008-12-30 14:04:51 UTC (rev 21639)
@@ -233,7 +233,7 @@
 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 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) {

Modified: trunk/src/lib/rpc/clnt_simple.c
===================================================================
--- trunk/src/lib/rpc/clnt_simple.c	2008-12-30 12:28:36 UTC (rev 21638)
+++ trunk/src/lib/rpc/clnt_simple.c	2008-12-30 14:04:51 UTC (rev 21639)
@@ -51,7 +51,9 @@
 static struct callrpc_private {
 	CLIENT	*client;
         SOCKET  socket;
-	int	oldprognum, oldversnum, valid;
+	rpcprog_t oldprognum;
+	rpcvers_t oldversnum;
+	int	valid;
 	char	*oldhost;
 } *callrpc_private;
 




More information about the cvs-krb5 mailing list