From f4b9187417865350fe7f10361817030000a7a28b Mon Sep 17 00:00:00 2001 From: Timothy Redaelli Date: Thu, 13 Oct 2011 02:08:13 +0200 Subject: Remove warnings on stun/tests --- stun/tests/test-parse.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'stun/tests') diff --git a/stun/tests/test-parse.c b/stun/tests/test-parse.c index 524f7f2..55b2818 100644 --- a/stun/tests/test-parse.c +++ b/stun/tests/test-parse.c @@ -38,6 +38,7 @@ #endif #include "stun/stunagent.h" +#include "stun/stunhmac.h" #include #include #include @@ -455,7 +456,7 @@ bool test_vector_validater (StunAgent *agent, StunMessage *message, uint8_t *username, uint16_t username_len, uint8_t **password, size_t *password_len, void *user_data) { - int callable = (int) user_data; + intptr_t callable = (intptr_t) user_data; if (!callable) fatal ("vector test : Validater should not be called!"); -- cgit v1.2.1