[MLton-commit] r6010
Matthew Fluet
fluet at mlton.org
Tue Sep 11 17:08:26 PDT 2007
Quiet a warning that appears in the Debian build logs; correspond to new warnings in gcc 4.2
----------------------------------------------------------------------
U mlton/trunk/runtime/bytecode/interpret.c
----------------------------------------------------------------------
Modified: mlton/trunk/runtime/bytecode/interpret.c
===================================================================
--- mlton/trunk/runtime/bytecode/interpret.c 2007-09-11 23:52:27 UTC (rev 6009)
+++ mlton/trunk/runtime/bytecode/interpret.c 2007-09-12 00:08:26 UTC (rev 6010)
@@ -97,9 +97,9 @@
do { \
z = *(t*)pc; \
if (DEBUG or DEBUG_BYTECODE or disassemble) { \
- if (#z == "label") \
+ if (! strcmp(#z,"label")) \
fprintf (stderr, " %s", offsetToLabel[z]); \
- else if (#z != "opc") \
+ else if (! strcmp(#z, "opc")) \
fprintf (stderr, " %d", (int)z); \
} \
pc += sizeof (t); \
More information about the MLton-commit
mailing list