summaryrefslogtreecommitdiff
path: root/lib/hash.c
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2013-07-23 15:59:07 +0200
committerYang Tse <yangsita@gmail.com>2013-07-24 01:21:26 +0200
commitde052ca6fc1c73e2857801a1bcf48c18910bec40 (patch)
treee4254800ae856c194a61efdb61bd07ea35013c04 /lib/hash.c
parent1a593191c2769a47b8c3e4d9715ec9f6dddf5e36 (diff)
downloadcurl-de052ca6fc1c73e2857801a1bcf48c18910bec40.tar.gz
string formatting: fix 25+ printf-style format strings
Diffstat (limited to 'lib/hash.c')
-rw-r--r--lib/hash.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/hash.c b/lib/hash.c
index 0a8e99ab2..4a12e1a7b 100644
--- a/lib/hash.c
+++ b/lib/hash.c
@@ -5,7 +5,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2012, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@@ -391,7 +391,7 @@ void Curl_hash_print(struct curl_hash *h,
if(func)
func(he->ptr);
else
- fprintf(stderr, " [%p]", he->ptr);
+ fprintf(stderr, " [%p]", (void *)he->ptr);
he = Curl_hash_next_element(&iter);
}