summaryrefslogtreecommitdiff
path: root/ext/Data
diff options
context:
space:
mode:
authorRobin Barker <RMBarker@cpan.org>2001-03-29 14:29:21 +0100
committerJarkko Hietaniemi <jhi@iki.fi>2001-03-29 14:26:03 +0000
commit29b291f76369791070837587a559330fa49a7060 (patch)
tree80be341f8bb06fd723c50206e2b57f6e529c677b /ext/Data
parent210db7fc53b6b7664595bb19b3377dc4d623b968 (diff)
downloadperl-29b291f76369791070837587a559330fa49a7060.tar.gz
printf warning
Message-Id: <200103291229.NAA03968@tempest.npl.co.uk> p4raw-id: //depot/perl@9436
Diffstat (limited to 'ext/Data')
-rw-r--r--ext/Data/Dumper/Dumper.xs2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/Data/Dumper/Dumper.xs b/ext/Data/Dumper/Dumper.xs
index bfa50d7413..99cd099eb8 100644
--- a/ext/Data/Dumper/Dumper.xs
+++ b/ext/Data/Dumper/Dumper.xs
@@ -128,7 +128,7 @@ esc_q_utf8(pTHX_ SV* sv, register char *src, register STRLEN slen)
r[j++] = '\\';
r[j++] = 'x';
r[j++] = '{';
- j += sprintf(r + j, "%x", k);
+ j += sprintf(r + j, "%"UVxf, k);
r[j++] = '}';
dquote = TRUE;
}