diff options
author | David Mitchell <davem@iabyn.com> | 2013-05-09 11:55:47 +0100 |
---|---|---|
committer | David Mitchell <davem@iabyn.com> | 2013-05-09 11:55:47 +0100 |
commit | 299ef33b5b1be54a2b467cd78c9139096e32314a (patch) | |
tree | 5b38930e53eec2fafe64ef328358d68371921bcc /dump.c | |
parent | 9c3c07f8ec0a449a2ff42754f2952773c0863fed (diff) | |
download | perl-299ef33b5b1be54a2b467cd78c9139096e32314a.tar.gz |
dump.c: avoid compiler warning under -Dmad
this fix was already applied to the non-MAD branch; apply it to
the similar MAD / xml-dump code.
dump.c:2663:57: warning: comparison of constant 85 with expression of type
'svtype' is always false [-Wtautological-constant-out-of-range-compare]
else if (sv == (const SV *)0x55555555 || SvTYPE(sv) == 'U') {
Diffstat (limited to 'dump.c')
-rw-r--r-- | dump.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2660,7 +2660,7 @@ Perl_sv_xmlpeek(pTHX_ SV *sv) sv_catpv(t, "VOID=\"\""); goto finish; } - else if (sv == (const SV *)0x55555555 || SvTYPE(sv) == 'U') { + else if (sv == (const SV *)0x55555555 || ((char)SvTYPE(sv)) == 'U') { sv_catpv(t, "WILD=\"\""); goto finish; } |