[m-rev.] diff: fix invalid C statement

Peter Wang novalazy at gmail.com
Fri Dec 4 13:40:23 AEDT 2009


Branches: main

runtime/mercury_goto.h:
        Fix an invalid C statement "(void)".

diff --git a/runtime/mercury_goto.h b/runtime/mercury_goto.h
index d1e4cf9..cee8c0a 100644
--- a/runtime/mercury_goto.h
+++ b/runtime/mercury_goto.h
@@ -363,7 +363,7 @@
 	    : "0"(MR_succip_word)			\
 	    )
   #else
-    #define MR_FORCE_SUCCIP_STORE   (void)
+    #define MR_FORCE_SUCCIP_STORE   ((void) 0)
   #endif
 
   /*

--------------------------------------------------------------------------
mercury-reviews mailing list
Post messages to:       mercury-reviews at csse.unimelb.edu.au
Administrative Queries: owner-mercury-reviews at csse.unimelb.edu.au
Subscriptions:          mercury-reviews-request at csse.unimelb.edu.au
--------------------------------------------------------------------------



More information about the reviews mailing list