svn rev #23568: trunk/src/ appl/gss-sample/ clients/klist/ kadmin/ktutil/ kadmin/testing/util/

epeisach@MIT.EDU epeisach at MIT.EDU
Sat Jan 2 19:19:53 EST 2010


http://src.mit.edu/fisheye/changelog/krb5/?cs=23568
Commit By: epeisach
Log Message:
Some unsigned/signed warning cleanup




Changed Files:
U   trunk/src/appl/gss-sample/gss-misc.c
U   trunk/src/clients/klist/klist.c
U   trunk/src/kadmin/ktutil/ktutil.c
U   trunk/src/kadmin/testing/util/tcl_kadm5.c
Modified: trunk/src/appl/gss-sample/gss-misc.c
===================================================================
--- trunk/src/appl/gss-sample/gss-misc.c	2010-01-02 02:35:40 UTC (rev 23567)
+++ trunk/src/appl/gss-sample/gss-misc.c	2010-01-03 00:19:53 UTC (rev 23568)
@@ -395,7 +395,7 @@
 print_token(tok)
     gss_buffer_t tok;
 {
-    int     i;
+    unsigned int   i;
     unsigned char *p = tok->value;
 
     if (!display_file)

Modified: trunk/src/clients/klist/klist.c
===================================================================
--- trunk/src/clients/klist/klist.c	2010-01-02 02:35:40 UTC (rev 23567)
+++ trunk/src/clients/klist/klist.c	2010-01-03 00:19:53 UTC (rev 23568)
@@ -690,7 +690,7 @@
     unsigned int        num;
     int                 c;
 {
-    int i;
+    unsigned int i;
 
     for (i=0; i<num; i++)
         fputc(c, f);

Modified: trunk/src/kadmin/ktutil/ktutil.c
===================================================================
--- trunk/src/kadmin/ktutil/ktutil.c	2010-01-02 02:35:40 UTC (rev 23567)
+++ trunk/src/kadmin/ktutil/ktutil.c	2010-01-03 00:19:53 UTC (rev 23568)
@@ -198,7 +198,8 @@
     krb5_error_code retval;
     krb5_kt_list lp;
     int show_time = 0, show_keys = 0, show_enctype = 0;
-    int i, j;
+    int i;
+    unsigned int j;
     char *pname;
 
     for (i = 1; i < argc; i++) {

Modified: trunk/src/kadmin/testing/util/tcl_kadm5.c
===================================================================
--- trunk/src/kadmin/testing/util/tcl_kadm5.c	2010-01-02 02:35:40 UTC (rev 23567)
+++ trunk/src/kadmin/testing/util/tcl_kadm5.c	2010-01-03 00:19:53 UTC (rev 23568)
@@ -1543,7 +1543,8 @@
 {
     Tcl_DString *str;
     Tcl_DString *keytype;
-    int i, j;
+    unsigned int i;
+    int j;
 
     if (! (str = malloc(sizeof(*str)))) {
         fprintf(stderr, "Out of memory!\n");




More information about the cvs-krb5 mailing list