From bca3f11932ae16648c77b441b55c78525c4d64d3 Mon Sep 17 00:00:00 2001 From: Ezra Peisach Date: Thu, 5 Jul 2001 18:45:34 +0000 Subject: [PATCH] * encrypt.c (encrypt_reply): Cast arguments to printf to match format in debugging statments. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13564 dc483132-0cff-0310-8789-dd5450dbe970 --- src/appl/telnet/libtelnet/ChangeLog | 5 +++++ src/appl/telnet/libtelnet/encrypt.c | 8 ++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/src/appl/telnet/libtelnet/ChangeLog b/src/appl/telnet/libtelnet/ChangeLog index 44f6e0298..f1b5e1600 100644 --- a/src/appl/telnet/libtelnet/ChangeLog +++ b/src/appl/telnet/libtelnet/ChangeLog @@ -1,3 +1,8 @@ +2001-07-05 Ezra Peisach + + * encrypt.c (encrypt_reply): Cast arguments to printf to match + format in debugging statments. + 2001-07-02 Ezra Peisach * krb5forw.h: File with prototype for rd_and_store_for_creds(). diff --git a/src/appl/telnet/libtelnet/encrypt.c b/src/appl/telnet/libtelnet/encrypt.c index 0e252ebcc..24c40a429 100644 --- a/src/appl/telnet/libtelnet/encrypt.c +++ b/src/appl/telnet/libtelnet/encrypt.c @@ -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); } -- 2.26.2