Clean up a warning with -Wwrite-strings that gets passed into every
authorSteve Peters <steve@fisharerojo.org>
Fri, 21 Dec 2007 16:31:45 +0000 (16:31 +0000)
committerSteve Peters <steve@fisharerojo.org>
Fri, 21 Dec 2007 16:31:45 +0000 (16:31 +0000)
parsed XS file.

p4raw-id: //depot/perl@32691

lib/ExtUtils/ParseXS.pm

index 221d5a4..e7e6aad 100644 (file)
@@ -940,7 +940,7 @@ EOF
   #-Wall: if there is no $Full_func_name there are no xsubs in this .xs
   #so `file' is unused
   print Q(<<"EOF") if $Full_func_name;
-#    char* file = __FILE__;
+#    const char* file = __FILE__;
 EOF
 
   print Q("#\n");