Commit 3cccc311 authored by Felix Schlitter's avatar Felix Schlitter Committed by Philip Withnall

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
parent c4d5ec57
...@@ -2957,7 +2957,7 @@ static bool conncheck_stun_validater (StunAgent *agent, ...@@ -2957,7 +2957,7 @@ static bool conncheck_stun_validater (StunAgent *agent,
if (ufrag == NULL) if (ufrag == NULL)
continue; 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 ? username_len, ufrag_len, username_len >= ufrag_len ?
memcmp (username, ufrag, ufrag_len) : 0); memcmp (username, ufrag, ufrag_len) : 0);
stun_debug_bytes (" username: ", username, username_len); stun_debug_bytes (" username: ", username, username_len);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment