forked from pool/mono-core
73e2d4605d
OBS-URL: https://build.opensuse.org/package/show/Mono:Factory/mono-core?expand=0&rev=8fb165d8c68a2bc02e4c382d026bd01e
14 lines
403 B
Diff
14 lines
403 B
Diff
Index: mono/metadata/object-internals.h
|
|
===================================================================
|
|
--- mono/metadata/object-internals.h (revision 153372)
|
|
+++ mono/metadata/object-internals.h (revision 153373)
|
|
@@ -27,7 +27,7 @@
|
|
*/
|
|
#ifdef _G_BOOLEAN_EXPR
|
|
#undef _G_BOOLEAN_EXPR
|
|
-#define _G_BOOLEAN_EXPR(expr) (gsize)(expr)
|
|
+#define _G_BOOLEAN_EXPR(expr) ((gsize)(expr) != 0)
|
|
#endif
|
|
|
|
#if 1
|