diff options
author | Nicholas Clark <nick@ccl4.org> | 2005-06-10 23:12:29 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2005-06-10 23:12:29 +0000 |
commit | f41f1441731254416925d4be0784e0c573cb9b60 (patch) | |
tree | 688266bb3bff13d1164c071a95ed34e1cd649038 /xsutils.c | |
parent | 2532d59035dfa291da335337eeee42c998248d43 (diff) | |
download | perl-f41f1441731254416925d4be0784e0c573cb9b60.tar.gz |
More SvPV consting. And other related drive-by refactoring.
p4raw-id: //depot/perl@24800
Diffstat (limited to 'xsutils.c')
-rw-r--r-- | xsutils.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -61,7 +61,7 @@ modify_SV_attributes(pTHX_ SV *sv, SV **retlist, SV **attrlist, int numattrs) for (nret = 0 ; numattrs && (attr = *attrlist++); numattrs--) { STRLEN len; - const char *name = SvPV(attr, len); + const char *name = SvPV_const(attr, len); const bool negated = (*name == '-'); if (negated) { |