correction to last patch

This commit is contained in:
Jeff Lenk 2010-09-29 16:00:09 -05:00
parent 45ecbc2f61
commit bcd31ecaf3
10 changed files with 10 additions and 10 deletions

View File

@ -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)

View File

@ -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

View File

@ -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

View File

@ -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
/* ------------------------------------------------------------------------- */

View File

@ -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

View File

@ -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;

View File

@ -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 */

View File

@ -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")

View File

@ -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.

View File

@ -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