type mismatch for %c format argument (spotted by Robin Barker
Gurusamy Sarathy [Thu, 16 Dec 1999 09:26:53 +0000 (09:26 +0000)]
<rmb1@cise.npl.co.uk>)

p4raw-id: //depot/perl@4683

regcomp.c

index 83438e9..f935190 100644 (file)
--- a/regcomp.c
+++ b/regcomp.c
@@ -2918,7 +2918,7 @@ S_regclass(pTHX)
                    Perl_warner(aTHX_ WARN_UNSAFE, 
                                "/%.127s/: Unrecognized escape \\%c in character class passed through",
                                PL_regprecomp,
-                               value);
+                               (int)value);
                break;
            }
        }
@@ -3391,7 +3391,7 @@ S_regclassutf8(pTHX)
                    Perl_warner(aTHX_ WARN_UNSAFE, 
                                "/%.127s/: Unrecognized escape \\%c in character class passed through",
                                PL_regprecomp,
-                               value);
+                               (int)value);
                break;
            }
        }