* encrypt.c (encrypt_reply): Cast arguments to printf to match
authorEzra Peisach <epeisach@mit.edu>
Thu, 5 Jul 2001 18:45:34 +0000 (18:45 +0000)
committerEzra Peisach <epeisach@mit.edu>
Thu, 5 Jul 2001 18:45:34 +0000 (18:45 +0000)
format in debugging statments.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13564 dc483132-0cff-0310-8789-dd5450dbe970

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

index 44f6e02984a2ced626f19458c016d59b47ca5640..f1b5e16001035008d123b7705e21dd3635f6c9a4 100644 (file)
@@ -1,3 +1,8 @@
+2001-07-05  Ezra Peisach  <epeisach@mit.edu>
+
+       * encrypt.c (encrypt_reply): Cast arguments to printf to match
+       format in debugging statments.
+
 2001-07-02  Ezra Peisach  <epeisach@mit.edu>
 
        * krb5forw.h: File with prototype for rd_and_store_for_creds().
index 0e252ebccba7cebd2fff701fec1241a3f37e6d4e..24c40a429533dbe55312dd9fe812d2376888a48d 100644 (file)
@@ -563,8 +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", 
-                               (unsigned int) data, cnt,
+                       printf("(*ep->is)(%lx, %d) returned %s(%d)\n", 
+                               (unsigned long) data, cnt,
                                (ret < 0) ? "FAIL " :
                                (ret == 0) ? "SUCCESS " : "MORE_TO_DO ", ret);
        }
@@ -608,8 +608,8 @@ encrypt_reply(data, cnt)
        } else {
                ret = (*ep->reply)(data, cnt);
                if (encrypt_debug_mode)
-                       printf("(*ep->reply)(%x, %d) returned %s(%d)\n",
-                               (unsigned int) data, cnt,
+                       printf("(*ep->reply)(%lx, %d) returned %s(%d)\n",
+                               (unsigned long) data, cnt,
                                (ret < 0) ? "FAIL " :
                                (ret == 0) ? "SUCCESS " : "MORE_TO_DO ", ret);
        }