From: Ezra Peisach Date: Mon, 18 Jun 2001 20:27:09 +0000 (+0000) Subject: * encrypt.c (encrypt_is): Cast arguments to printf to match format X-Git-Tag: krb5-1.3-alpha1~1383 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=852ee4298d7f162c7a9fae145ce6389fa5b04cb1;p=krb5.git * encrypt.c (encrypt_is): Cast arguments to printf to match format git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13384 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/appl/telnet/libtelnet/ChangeLog b/src/appl/telnet/libtelnet/ChangeLog index d016c4486..cfefbd63d 100644 --- a/src/appl/telnet/libtelnet/ChangeLog +++ b/src/appl/telnet/libtelnet/ChangeLog @@ -1,3 +1,7 @@ +2001-06-18 Ezra Peisach + + * encrypt.c (encrypt_is): Cast arguments to printf to match format. + 2001-06-18 Ezra Peisach * genget.c (LOWER): Cast argument to isupper()/tolower() to int. diff --git a/src/appl/telnet/libtelnet/encrypt.c b/src/appl/telnet/libtelnet/encrypt.c index c843ca94f..5f8ece66d 100644 --- a/src/appl/telnet/libtelnet/encrypt.c +++ b/src/appl/telnet/libtelnet/encrypt.c @@ -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); }