* encrypt.c (encrypt_is): Cast arguments to printf to match format
authorEzra Peisach <epeisach@mit.edu>
Mon, 18 Jun 2001 20:27:09 +0000 (20:27 +0000)
committerEzra Peisach <epeisach@mit.edu>
Mon, 18 Jun 2001 20:27:09 +0000 (20:27 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13384 dc483132-0cff-0310-8789-dd5450dbe970

src/appl/telnet/libtelnet/ChangeLog
src/appl/telnet/libtelnet/encrypt.c

index d016c4486cbfc592144fe4738659c9c0510eb92c..cfefbd63d3ca7fa0c7d980f6def4b3505984bfea 100644 (file)
@@ -1,3 +1,7 @@
+2001-06-18  Ezra Peisach  <epeisach@mit.edu>
+
+       * encrypt.c (encrypt_is): Cast arguments to printf to match format. 
+
 2001-06-18  Ezra Peisach  <epeisach@mit.edu>
 
        * genget.c (LOWER): Cast argument to isupper()/tolower() to int.
index c843ca94fcb0c57ca9732b00f756984ea9943d71..5f8ece66dae0166994dc75f0d4fa259e0492795b 100644 (file)
@@ -563,7 +563,8 @@ encrypt_is(data, cnt)
        } else {
                ret = (*ep->is)(data, cnt);
                if (encrypt_debug_mode)
-                       printf("(*ep->is)(%x, %d) returned %s(%d)\n", data, cnt,
+                       printf("(*ep->is)(%x, %d) returned %s(%d)\n", 
+                               (unsigned int) data, cnt,
                                (ret < 0) ? "FAIL " :
                                (ret == 0) ? "SUCCESS " : "MORE_TO_DO ", ret);
        }
@@ -608,7 +609,7 @@ encrypt_reply(data, cnt)
                ret = (*ep->reply)(data, cnt);
                if (encrypt_debug_mode)
                        printf("(*ep->reply)(%x, %d) returned %s(%d)\n",
-                               data, cnt,
+                               (unsigned int) data, cnt,
                                (ret < 0) ? "FAIL " :
                                (ret == 0) ? "SUCCESS " : "MORE_TO_DO ", ret);
        }