Author: petdance
Date: Fri Feb 22 21:19:27 2008
New Revision: 26002

Modified:
   trunk/include/parrot/misc.h

Log:
parenthesizing macros

Modified: trunk/include/parrot/misc.h
==============================================================================
--- trunk/include/parrot/misc.h (original)
+++ trunk/include/parrot/misc.h Fri Feb 22 21:19:27 2008
@@ -183,8 +183,8 @@
      */
 #  define PARROT_SPRINTF_MAX_PREC 3 * PARROT_SPRINTF_BUFFER_SIZE / 4
 
-#  define cstr2pstr(cstr) string_make(interp, cstr, strlen(cstr), "ascii", 0)
-#  define char2pstr(ch)   string_make(interp, &ch , 1, "ascii", 0)
+#  define cstr2pstr(cstr) string_make(interp, (cstr), strlen(cstr), "ascii", 0)
+#  define char2pstr(ch)   string_make(interp, &(ch), 1, "ascii", 0)
 
     /* SPRINTF DATA STRUCTURE AND FLAGS */
 

Reply via email to