Author: chromatic
Date: Sat May 26 17:58:01 2007
New Revision: 18654

Modified:
   trunk/compilers/pge/PGE/pmc/codestring.pmc

Log:
[PGE] Fixed a compilation warning in the CodeString PMC.

Modified: trunk/compilers/pge/PGE/pmc/codestring.pmc
==============================================================================
--- trunk/compilers/pge/PGE/pmc/codestring.pmc  (original)
+++ trunk/compilers/pge/PGE/pmc/codestring.pmc  Sat May 26 17:58:01 2007
@@ -179,7 +179,7 @@
 
         id = string_from_int(interp, current_serno);
 
-        if (has_format && format != PMCNULL) {
+        if (has_format && format != NULL) {
             id = Parrot_sprintf_c(interp, "%Ss%Ss", format, id);
         }
         PCCRETURN(STRING* id);

Reply via email to