summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Schneider <mail@cynapses.org>2009-04-16 17:38:15 +0000
committerAndreas Schneider <mail@cynapses.org>2009-04-16 17:38:15 +0000
commit2b12ffc820449e9b830220d914c51dc7605393f2 (patch)
tree8039dd33b2af98db328393d724e45ed698c6ea63
parent55d42b9c533f2b45666f95609d13c40b2151e116 (diff)
downloadlibssh-2b12ffc820449e9b830220d914c51dc7605393f2.tar.gz
libssh-2b12ffc820449e9b830220d914c51dc7605393f2.tar.xz
libssh-2b12ffc820449e9b830220d914c51dc7605393f2.zip
Fix build warning.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@514 7dcaeef0-15fb-0310-b436-a5af3365683c
-rw-r--r--libssh/dh.c2
1 files changed, 1 insertions, 1 deletions
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);
}