summaryrefslogtreecommitdiff
path: root/utf8.c
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2006-04-29 01:58:58 +0300
committerSteve Peters <steve@fisharerojo.org>2006-04-28 20:40:41 +0000
commit95b63a389ed86efed1a2fa9fd24931d56aac6070 (patch)
treeaeb1bc30a3a260876b428893c2b1a0c94fc4d6bd /utf8.c
parent899be1018553cb37b5cccbe4f65d169fd1c17028 (diff)
downloadperl-95b63a389ed86efed1a2fa9fd24931d56aac6070.tar.gz
reduce gcc -ansi -pedantic noise plus a suggestion
Message-ID: <44527402.8000506@gmail.com> p4raw-id: //depot/perl@28008
Diffstat (limited to 'utf8.c')
-rw-r--r--utf8.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/utf8.c b/utf8.c
index ecfbd69ced..83169a327c 100644
--- a/utf8.c
+++ b/utf8.c
@@ -1615,7 +1615,7 @@ Perl_swash_init(pTHX_ const char* pkg, const char* name, SV *listsv, I32 minbits
if (!SvROK(retval) || SvTYPE(SvRV(retval)) != SVt_PVHV) {
if (SvPOK(retval))
Perl_croak(aTHX_ "Can't find Unicode property definition \"%"SVf"\"",
- retval);
+ (void*)retval);
Perl_croak(aTHX_ "SWASHNEW didn't return an HV ref");
}
return retval;