turn off annoying warnings in Visual Studio
This commit is contained in:
@@ -15,6 +15,11 @@
|
|||||||
|
|
||||||
#include "sp_lev.h"
|
#include "sp_lev.h"
|
||||||
|
|
||||||
|
#ifdef _MSC_VER
|
||||||
|
#pragma warning(push)
|
||||||
|
#pragma warning(disable:4244)
|
||||||
|
#endif
|
||||||
|
|
||||||
typedef void (*select_iter_func)(int, int, genericptr_t);
|
typedef void (*select_iter_func)(int, int, genericptr_t);
|
||||||
|
|
||||||
extern void FDECL(mkmap, (lev_init *));
|
extern void FDECL(mkmap, (lev_init *));
|
||||||
@@ -5222,4 +5227,8 @@ const char *name;
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
#ifdef _MSC_VER
|
||||||
|
#pragma warning(pop)
|
||||||
|
#endif
|
||||||
|
|
||||||
/*sp_lev.c*/
|
/*sp_lev.c*/
|
||||||
|
|||||||
Reference in New Issue
Block a user