projects
/
p5sagit/p5-mst-13.2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
34da6ce
)
Silence a const warning
Rafael Garcia-Suarez [Sat, 4 Jun 2005 16:49:33 +0000 (16:49 +0000)]
p4raw-id: //depot/perl@24705
sv.c
patch
|
blob
|
blame
|
history
diff --git
a/sv.c
b/sv.c
index
5427148
..
f0e8e8a
100644
(file)
--- a/
sv.c
+++ b/
sv.c
@@
-4956,7
+4956,7
@@
Perl_sv_force_normal_flags(pTHX_ register SV *sv, U32 flags)
#else
if (SvREADONLY(sv)) {
if (SvFAKE(sv)) {
- char *pvx = SvPVX_const(sv);
+ const char *pvx = SvPVX_const(sv);
const int is_utf8 = SvUTF8(sv);
STRLEN len = SvCUR(sv);
U32 hash = SvUVX(sv);