From 7aef172a347a0422a0968fde9c487639ff673383 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Thu, 4 Feb 2010 19:44:31 +0000 Subject: fix printf-style format strings --- lib/connect.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/connect.c') diff --git a/lib/connect.c b/lib/connect.c index 1d2947488..5e94b8673 100644 --- a/lib/connect.c +++ b/lib/connect.c @@ -397,13 +397,13 @@ static CURLcode bindlocal(struct connectdata *conn, error, Curl_strerror(conn, error)); return CURLE_INTERFACE_FAILED; } - infof(data, "Local port: %d\n", port); + infof(data, "Local port: %hu\n", port); conn->bits.bound = TRUE; return CURLE_OK; } if(--portnum > 0) { - infof(data, "Bind to local port %d failed, trying next\n", port); + infof(data, "Bind to local port %hu failed, trying next\n", port); port++; /* try next port */ /* We re-use/clobber the port variable here below */ if(sock->sa_family == AF_INET) -- cgit v1.2.1