summaryrefslogtreecommitdiffstats
path: root/libssh/dh.c
diff options
context:
space:
mode:
Diffstat (limited to 'libssh/dh.c')
-rw-r--r--libssh/dh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libssh/dh.c b/libssh/dh.c
index 207040f9..e1e55056 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);
}