From 852ee4298d7f162c7a9fae145ce6389fa5b04cb1 Mon Sep 17 00:00:00 2001 From: Ezra Peisach Date: Mon, 18 Jun 2001 20:27:09 +0000 Subject: [PATCH] * 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 --- src/appl/telnet/libtelnet/ChangeLog | 4 ++++ src/appl/telnet/libtelnet/encrypt.c | 5 +++-- 2 files changed, 7 insertions(+), 2 deletions(-) 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); } -- 2.26.2