summaryrefslogtreecommitdiff
path: root/lib/ssh.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/ssh.c
parent1a593191c2769a47b8c3e4d9715ec9f6dddf5e36 (diff)
downloadcurl-de052ca6fc1c73e2857801a1bcf48c18910bec40.tar.gz
string formatting: fix 25+ printf-style format strings
Diffstat (limited to 'lib/ssh.c')
-rw-r--r--lib/ssh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ssh.c b/lib/ssh.c
index 9b37ad69e..422357be9 100644
--- a/lib/ssh.c
+++ b/lib/ssh.c
@@ -392,7 +392,7 @@ static void state(struct connectdata *conn, sshstate nowstate)
#if defined(DEBUGBUILD) && !defined(CURL_DISABLE_VERBOSE_STRINGS)
if(sshc->state != nowstate) {
infof(conn->data, "SFTP %p state change from %s to %s\n",
- sshc, names[sshc->state], names[nowstate]);
+ (void *)sshc, names[sshc->state], names[nowstate]);
}
#endif