From 3cccc311b1becf4307f5a4004734d8f7b2cf84f6 Mon Sep 17 00:00:00 2001 From: Felix Schlitter Date: Tue, 30 Jun 2015 07:37:31 +1200 Subject: [PATCH] Use G_GSIZE_FORMAT instead of %zu The C runtime on windows does not implement a printf that understands %zu and other C99 format specifiers. Use G_GSIZE_FORMAT instead. This is further consistent with the rest of the code base that makes use of G_GSIZE_FORMAT throughout. https://github.com/libnice/libnice/pull/3 --- agent/conncheck.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agent/conncheck.c b/agent/conncheck.c index 057fc81..bed3465 100644 --- a/agent/conncheck.c +++ b/agent/conncheck.c @@ -2957,7 +2957,7 @@ static bool conncheck_stun_validater (StunAgent *agent, if (ufrag == NULL) continue; - stun_debug ("Comparing username/ufrag of len %d and %zu, equal=%d", + stun_debug ("Comparing username/ufrag of len %d and %" G_GSIZE_FORMAT ", equal=%d", username_len, ufrag_len, username_len >= ufrag_len ? memcmp (username, ufrag, ufrag_len) : 0); stun_debug_bytes (" username: ", username, username_len); -- 2.7.4