forked from Mirrors/freeswitch
correction to last patch
This commit is contained in:
parent
45ecbc2f61
commit
bcd31ecaf3
@ -53,7 +53,7 @@
|
||||
#ifndef _MSC_VER
|
||||
#define NONE ((void*)-1)
|
||||
#else
|
||||
#define NONE ((void*)(UINT_PTR)-1)
|
||||
#define NONE ((void*)(INT_PTR)-1)
|
||||
#endif
|
||||
|
||||
int msghdrtag_snprintf(tagi_t const *t, char b[], size_t size)
|
||||
|
@ -303,7 +303,7 @@ enum {
|
||||
#ifndef _MSC_VER
|
||||
#define MSG_HEADER_NONE ((msg_header_t *)-1)
|
||||
#else
|
||||
#define MSG_HEADER_NONE ((msg_header_t *)(UINT_PTR)-1)
|
||||
#define MSG_HEADER_NONE ((msg_header_t *)(INT_PTR)-1)
|
||||
#endif
|
||||
|
||||
SOFIA_END_DECLS
|
||||
|
@ -44,7 +44,7 @@
|
||||
#ifndef _MSC_VER
|
||||
#define NONE ((void *)- 1)
|
||||
#else
|
||||
#define NONE ((void *)(UINT_PTR)- 1)
|
||||
#define NONE ((void *)(INT_PTR)- 1)
|
||||
#endif
|
||||
|
||||
#define SU_ROOT_MAGIC_T struct nea_server_s
|
||||
|
@ -107,7 +107,7 @@ static char const __func__[] = "nta";
|
||||
#ifndef _MSC_VER
|
||||
#define NONE ((void *)-1)
|
||||
#else
|
||||
#define NONE ((void *)(UINT_PTR)-1)
|
||||
#define NONE ((void *)(INT_PTR)-1)
|
||||
#endif
|
||||
/* ------------------------------------------------------------------------- */
|
||||
|
||||
|
@ -57,7 +57,7 @@
|
||||
#ifndef _MSC_VER
|
||||
#define NONE ((void *)-1)
|
||||
#else
|
||||
#define NONE ((void *)(UINT_PTR)-1)
|
||||
#define NONE ((void *)(INT_PTR)-1)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
@ -86,7 +86,7 @@ typedef struct nua_ee_data {
|
||||
#ifndef _MSC_VER
|
||||
#define NONE ((void *)-1)
|
||||
#else
|
||||
#define NONE ((void *)(UINT_PTR)-1)
|
||||
#define NONE ((void *)(INT_PTR)-1)
|
||||
#endif
|
||||
|
||||
typedef struct register_usage nua_registration_t;
|
||||
|
@ -84,7 +84,7 @@ typedef enum {
|
||||
#ifndef _MSC_VER
|
||||
#define SIP_NONE ((void const *)-1L)
|
||||
#else
|
||||
#define SIP_NONE ((void const *)(UINT_PTR)-1L)
|
||||
#define SIP_NONE ((void const *)(INT_PTR)-1L)
|
||||
#endif
|
||||
|
||||
/** SIP protocol identifier @HIDE */
|
||||
|
@ -59,7 +59,7 @@
|
||||
#ifndef _MSC_VER
|
||||
#define NONE ((void *)-1)
|
||||
#else
|
||||
#define NONE ((void *)(UINT_PTR)-1)
|
||||
#define NONE ((void *)(INT_PTR)-1)
|
||||
#endif
|
||||
#define XXX assert(!"implemented")
|
||||
|
||||
|
@ -399,7 +399,7 @@ sdp_rtpmap_t *soa_sdp_media_matching_rtpmap(sdp_rtpmap_t const *from,
|
||||
#ifndef _MSC_VER
|
||||
#define SDP_MEDIA_NONE ((sdp_media_t *)-1)
|
||||
#else
|
||||
#define SDP_MEDIA_NONE ((sdp_media_t *)(UINT_PTR)-1)
|
||||
#define SDP_MEDIA_NONE ((sdp_media_t *)(INT_PTR)-1)
|
||||
#endif
|
||||
|
||||
/** Find first matching media in table @a mm.
|
||||
|
@ -82,7 +82,7 @@
|
||||
#ifndef _MSC_VER
|
||||
#define NONE ((void *)-1)
|
||||
#else
|
||||
#define NONE ((void *)(UINT_PTR)-1)
|
||||
#define NONE ((void *)(INT_PTR)-1)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user