fix warnings on windows x64 builds src and mods projects - only libsofia included on the libs side

This commit is contained in:
Jeff Lenk committed 2010-09-29 15:47:58 -05:00
1 parent 38e0bfb5a8
commit 45ecbc2f61
30 files changed
+125 -70

No files matched your search

@@ -50,7 +50,11 @@
#include <sofia-sip/su_tagarg.h>
#include "sofia-sip/msg_tag_class.h"
#ifndef _MSC_VER
#define NONE ((void*)-1)
#else
#define NONE ((void*)(UINT_PTR)-1)
#endif
int msghdrtag_snprintf(tagi_t const *t, char b[], size_t size)
{
@@ -299,7 +299,12 @@ enum {
(h))
/** No header. */
#ifndef _MSC_VER
#define MSG_HEADER_NONE ((msg_header_t *)-1)
#else
#define MSG_HEADER_NONE ((msg_header_t *)(UINT_PTR)-1)
#endif
SOFIA_END_DECLS
@@ -235,7 +235,11 @@ msg_content_length_t *msg_content_length_create(su_home_t *home, uint32_t n);
SOFIAPUBVAR char const msg_mime_version_1_0[];
/** MIME multipart parser table identifier. @HIDE */
#ifndef _MSC_VER
#define MSG_MULTIPART_PROTOCOL_TAG ((void *)0x4d494d45) /* 'MIME' */
#else
#define MSG_MULTIPART_PROTOCOL_TAG ((void *)(UINT_PTR)0x4d494d45) /* 'MIME' */
#endif
SOFIA_END_DECLS