Commit 25cdf40c authored by Stefan Behnel's avatar Stefan Behnel

Add type cast to resolve C4804 (unsafe bool usage) warning in MSVC.

Closes #2731.
parent 3eb9e2b1
......@@ -207,7 +207,7 @@
#undef MASK
/* Compile-time sanity check that these are indeed equal. Github issue #2670. */
#ifdef SIZEOF_VOID_P
enum { __pyx_check_sizeof_voidp = 1/(SIZEOF_VOID_P == sizeof(void*)) };
enum { __pyx_check_sizeof_voidp = 1 / (int)(SIZEOF_VOID_P == sizeof(void*)) };
#endif
#endif
......
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