From de052ca6fc1c73e2857801a1bcf48c18910bec40 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Tue, 23 Jul 2013 15:59:07 +0200 Subject: string formatting: fix 25+ printf-style format strings --- lib/ftp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/ftp.c') diff --git a/lib/ftp.c b/lib/ftp.c index 021796f0a..318bfa75a 100644 --- a/lib/ftp.c +++ b/lib/ftp.c @@ -828,7 +828,7 @@ static void _state(struct connectdata *conn, #if defined(DEBUGBUILD) && !defined(CURL_DISABLE_VERBOSE_STRINGS) if(ftpc->state != newstate) infof(conn->data, "FTP %p (line %d) state change from %s to %s\n", - ftpc, lineno, names[ftpc->state], names[newstate]); + (void *)ftpc, lineno, names[ftpc->state], names[newstate]); #endif ftpc->state = newstate; } -- cgit v1.2.3