Add casting to allow g++ (3.3.5) to compile the core code.
[p5sagit/p5-mst-13.2.git] / ext / Devel / DProf / DProf.xs
index 8202142..10d4172 100644 (file)
@@ -373,7 +373,7 @@ prof_mark(pTHX_ opcode ptype)
        gv = CvGV(cv);
        pname = ((GvSTASH(gv) && HvNAME(GvSTASH(gv))) 
                 ? HvNAME(GvSTASH(gv)) 
-                : "(null)");
+                : (char *) "(null)");
        gname = GvNAME(gv);
 
        set_cv_key(aTHX_ cv, pname, gname);