summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Schlitter <felixschlitter@gmail.com>2015-06-30 07:37:31 +1200
committerPhilip Withnall <philip.withnall@collabora.co.uk>2015-06-30 14:48:33 +0100
commit3cccc311b1becf4307f5a4004734d8f7b2cf84f6 (patch)
treebf7fef737511dd8965c2b74c502df3b5d20d36de
parentc4d5ec572ae0ede14d13d9ce5b193cdcb36b07a1 (diff)
downloadlibnice-3cccc311b1becf4307f5a4004734d8f7b2cf84f6.tar.gz
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
-rw-r--r--agent/conncheck.c2
1 files changed, 1 insertions, 1 deletions
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);