diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2000-12-15 15:44:16 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2000-12-15 15:44:16 +0000 |
commit | c8ce92fc7936a80fc9453fb1db9940ba01e31cad (patch) | |
tree | 2c73afe392e11c27aa487cbdc239cd1920a14ba0 /gv.c | |
parent | 32251b26ec0781f53d9925938cad5bd9e89c80f2 (diff) | |
download | perl-c8ce92fc7936a80fc9453fb1db9940ba01e31cad.tar.gz |
Some compilers get huffy if you do not cast a const pointer
to a non-const when assigning.
p4raw-id: //depot/perl@8132
Diffstat (limited to 'gv.c')
-rw-r--r-- | gv.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1196,7 +1196,7 @@ Perl_Gv_AMupdate(pTHX_ HV *stash) for (i = 1; i < lim; i++) amt.table[i] = Nullcv; for (; i < NofAMmeth; i++) { - char *cooky = PL_AMG_names[i]; + char *cooky = (char*)PL_AMG_names[i]; /* Human-readable form, for debugging: */ char *cp = (i >= DESTROY_amg ? cooky : AMG_id2name(i)); STRLEN l = strlen(cooky); |