Commit 35c8e49e authored by Michael Jerris's avatar Michael Jerris Committed by Pekka Pessi

nua: fix windows MSVC build warnings

parent a836a423
...@@ -53,7 +53,7 @@ ...@@ -53,7 +53,7 @@
#include <sofia-sip/su_debug.h> #include <sofia-sip/su_debug.h>
#ifndef NONE #ifndef NONE
#define NONE ((void *)-1) #define NONE ((void *)(intptr_t)-1)
#endif #endif
/* ======================================================================== */ /* ======================================================================== */
......
...@@ -83,7 +83,7 @@ typedef struct nua_ee_data { ...@@ -83,7 +83,7 @@ typedef struct nua_ee_data {
nua_event_data_t ee_data[1]; nua_event_data_t ee_data[1];
} nua_ee_data_t; } nua_ee_data_t;
#define NONE ((void *)-1) #define NONE ((void *)(intptr_t)-1)
typedef struct register_usage nua_registration_t; typedef struct register_usage nua_registration_t;
......
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