Use %lu for long unsigned int when calling printf
Rohan Garg
12 years ago
367 | 367 | StunMessage msg; |
368 | 368 | uint16_t known_attributes[] = {STUN_ATTRIBUTE_MESSAGE_INTEGRITY, STUN_ATTRIBUTE_USERNAME, 0}; |
369 | 369 | |
370 | printf ("Attribute test message length: %u\n", sizeof (acme)); | |
370 | printf ("Attribute test message length: %lu\n", sizeof (acme)); | |
371 | 371 | |
372 | 372 | stun_agent_init (&agent, known_attributes, |
373 | 373 | STUN_COMPATIBILITY_RFC5389, STUN_AGENT_USAGE_SHORT_TERM_CREDENTIALS); |