From 2b12ffc820449e9b830220d914c51dc7605393f2 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Thu, 16 Apr 2009 17:38:15 +0000 Subject: Fix build warning. git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@514 7dcaeef0-15fb-0310-b436-a5af3365683c --- libssh/dh.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libssh/dh.c b/libssh/dh.c index 207040f..e1e5505 100644 --- a/libssh/dh.c +++ b/libssh/dh.c @@ -160,7 +160,7 @@ void ssh_print_bignum(const char *which, bignum num) { hex = bignum_bn2hex(num); #endif fprintf(stderr, "%s value: ", which); - fprintf(stderr,"%s\n", hex == NULL ? "(null)" : hex); + fprintf(stderr, "%s\n", (hex == NULL) ? "(null)" : (char *) hex); SAFE_FREE(hex); } -- cgit