]> git.imager.perl.org - imager.git/commitdiff
prevent const char * to char * conversion warning
authorTony Cook <tony@develop=help.com>
Tue, 18 Sep 2001 05:29:05 +0000 (05:29 +0000)
committerTony Cook <tony@develop=help.com>
Tue, 18 Sep 2001 05:29:05 +0000 (05:29 +0000)
Imager.xs

index 36a4041e8bb5197fa4660baa84c91cc0c0c3ae09..01d146e128a4854442a7d3c0ee2c93f3c590e61f 100644 (file)
--- a/Imager.xs
+++ b/Imager.xs
@@ -180,7 +180,7 @@ static struct value_name orddith_names[] =
 };
 
 static int
-hv_fetch_bool(HV *hv, char const *name, int def) {
+hv_fetch_bool(HV *hv, char *name, int def) {
   SV **sv;
 
   sv = hv_fetch(hv, name, strlen(name), 0);
@@ -192,7 +192,7 @@ hv_fetch_bool(HV *hv, char const *name, int def) {
 }
 
 static int
-hv_fetch_int(HV *hv, char const *name, int def) {
+hv_fetch_int(HV *hv, char *name, int def) {
   SV **sv;
 
   sv = hv_fetch(hv, name, strlen(name), 0);