Commit 4327fcf1 authored by Michael Jerris's avatar Michael Jerris Committed by Pekka Pessi

soa: fix windows MSVC build warnings

parent 7be4ec10
......@@ -56,7 +56,8 @@
#include <sofia-sip/su_string.h>
#include <sofia-sip/su_errno.h>
#define NONE ((void *)-1)
#define NONE ((void *)(intptr_t)-1)
#define XXX assert(!"implemented")
typedef unsigned longlong ull;
......
......@@ -396,7 +396,7 @@ sdp_rtpmap_t *soa_sdp_media_matching_rtpmap(sdp_rtpmap_t const *from,
return NULL;
}
#define SDP_MEDIA_NONE ((sdp_media_t *)-1)
#define SDP_MEDIA_NONE ((sdp_media_t *)(intptr_t)-1)
/** Find first matching media in table @a mm.
*
......
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