SHA256
1
0
forked from pool/mono-core
mono-core/_g_boolean_expr.patch

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