projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
232083c
)
Typemap.xs: fix warning under clang
author
David Mitchell
<davem@iabyn.com>
Fri, 14 Dec 2012 11:50:08 +0000
(11:50 +0000)
committer
David Mitchell
<davem@iabyn.com>
Fri, 14 Dec 2012 11:50:08 +0000
(11:50 +0000)
Trivial type issue in croak format
ext/XS-Typemap/Typemap.xs
patch
|
blob
|
history
diff --git
a/ext/XS-Typemap/Typemap.xs
b/ext/XS-Typemap/Typemap.xs
index
cac9466
..
f341a7b
100644
(file)
--- a/
ext/XS-Typemap/Typemap.xs
+++ b/
ext/XS-Typemap/Typemap.xs
@@
-176,7
+176,7
@@
XS_unpack_anotherstructPtrPtr(SV *in)
if (SvROK(tmp) && SvTYPE(SvRV(tmp)) == SVt_PVHV)
inhash = (HV*)SvRV(tmp);
else
- Perl_croak(aTHX_ "Array element %
u
is not a HASH reference", i);
+ Perl_croak(aTHX_ "Array element %
"UVuf"
is not a HASH reference", i);
elem = hv_fetchs(inhash, "a", 0);
if (elem == NULL)