Skip to content

Commit d88817f

Browse files
committed
Disable C4055 warning (data -> function pointer conversion).
1 parent d9a6bb9 commit d88817f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

MemoryModule.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,11 @@
3333
#include <stdio.h>
3434
#endif
3535

36+
#if _MSC_VER
37+
// Disable warning about data -> function pointer conversion
38+
#pragma warning(disable:4055)
39+
#endif
40+
3641
#ifndef IMAGE_SIZEOF_BASE_RELOCATION
3742
// Vista SDKs no longer define IMAGE_SIZEOF_BASE_RELOCATION!?
3843
#define IMAGE_SIZEOF_BASE_RELOCATION (sizeof(IMAGE_BASE_RELOCATION))

0 commit comments

Comments
 (0)