Commit 980ee9ca authored by Michael Jerris's avatar Michael Jerris Committed by Pekka Pessi

msg: fix windows MSVC build warnings

parent 8cd63825
......@@ -50,7 +50,7 @@
#include <sofia-sip/su_tagarg.h>
#include "sofia-sip/msg_tag_class.h"
#define NONE ((void*)-1)
#define NONE ((void*)(intptr_t)-1)
int msghdrtag_snprintf(tagi_t const *t, char b[], size_t size)
{
......
......@@ -301,7 +301,7 @@ enum {
(h))
/** No header. */
#define MSG_HEADER_NONE ((msg_header_t *)-1)
#define MSG_HEADER_NONE ((msg_header_t *)(intptr_t)-1)
SOFIA_END_DECLS
......
......@@ -235,7 +235,7 @@ 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 */
#define MSG_MULTIPART_PROTOCOL_TAG ((void *)0x4d494d45) /* 'MIME' */
#define MSG_MULTIPART_PROTOCOL_TAG ((void *)(uintptr_t)0x4d494d45) /* 'MIME' */
SOFIA_END_DECLS
......
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