From 1e1095862dbfb7b0806ef2a31b1a914548b52ceb Mon Sep 17 00:00:00 2001 From: markster Date: Sun, 13 Jun 2004 21:25:10 +0000 Subject: x86-64 compile fixes and cleanups git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3202 f38db490-d61c-443f-a65b-d21fe96a405b --- res/res_crypto.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'res/res_crypto.c') diff --git a/res/res_crypto.c b/res/res_crypto.c index e0cb6233c..2ebf4bef9 100755 --- a/res/res_crypto.c +++ b/res/res_crypto.c @@ -405,7 +405,7 @@ int ast_sign(struct ast_key *key, char *msg, char *sig) } if (siglen != sizeof(dsig)) { - ast_log(LOG_WARNING, "Unexpected signature length %d, expecting %d\n", siglen, sizeof(dsig)); + ast_log(LOG_WARNING, "Unexpected signature length %d, expecting %d\n", (int)siglen, (int)sizeof(dsig)); return -1; } @@ -431,7 +431,7 @@ int ast_check_signature(struct ast_key *key, char *msg, char *sig) /* Decode signature */ res = base64decode(dsig, sig, sizeof(dsig)); if (res != sizeof(dsig)) { - ast_log(LOG_WARNING, "Signature improper length (expect %d, got %d)\n", sizeof(dsig), res); + ast_log(LOG_WARNING, "Signature improper length (expect %d, got %d)\n", (int)sizeof(dsig), (int)res); return -1; } -- cgit v1.2.3