Commit f4b91874 authored by Timothy Redaelli's avatar Timothy Redaelli Committed by Youness Alaoui

Remove warnings on stun/tests

parent 5e5da7b2
...@@ -38,6 +38,7 @@ ...@@ -38,6 +38,7 @@
#endif #endif
#include "stun/stunagent.h" #include "stun/stunagent.h"
#include "stun/stunhmac.h"
#include <stdio.h> #include <stdio.h>
#include <string.h> #include <string.h>
#include <stdlib.h> #include <stdlib.h>
...@@ -455,7 +456,7 @@ bool test_vector_validater (StunAgent *agent, ...@@ -455,7 +456,7 @@ bool test_vector_validater (StunAgent *agent,
StunMessage *message, uint8_t *username, uint16_t username_len, StunMessage *message, uint8_t *username, uint16_t username_len,
uint8_t **password, size_t *password_len, void *user_data) uint8_t **password, size_t *password_len, void *user_data)
{ {
int callable = (int) user_data; intptr_t callable = (intptr_t) user_data;
if (!callable) if (!callable)
fatal ("vector test : Validater should not be called!"); fatal ("vector test : Validater should not be called!");
......
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