summaryrefslogtreecommitdiff
path: root/stun
diff options
context:
space:
mode:
authorRohan Garg <rohangarg@kubuntu.org>2012-04-17 21:34:00 +0530
committerRohan Garg <rohangarg@kubuntu.org>2012-05-01 21:38:33 +0530
commite8ee3765fc45b2556cf450a846cb4b812a3b2597 (patch)
tree5817fc6ae85c72193faaf209a8ba678ae6dce01c /stun
parent12a65f73b0aba7262ff981013a0953b3a0210965 (diff)
downloadlibnice-e8ee3765fc45b2556cf450a846cb4b812a3b2597.tar.gz
Use %lu for long unsigned int when calling printf
Diffstat (limited to 'stun')
-rw-r--r--stun/tests/test-parse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stun/tests/test-parse.c b/stun/tests/test-parse.c
index 7c9e25e..15b6906 100644
--- a/stun/tests/test-parse.c
+++ b/stun/tests/test-parse.c
@@ -368,7 +368,7 @@ static void test_attribute (void)
StunMessage msg;
uint16_t known_attributes[] = {STUN_ATTRIBUTE_MESSAGE_INTEGRITY, STUN_ATTRIBUTE_USERNAME, 0};
- printf ("Attribute test message length: %u\n", sizeof (acme));
+ printf ("Attribute test message length: %lu\n", sizeof (acme));
stun_agent_init (&agent, known_attributes,
STUN_COMPATIBILITY_RFC5389, STUN_AGENT_USAGE_SHORT_TERM_CREDENTIALS);