diff options
Diffstat (limited to 'ext/Data/Dumper/Dumper.xs')
-rw-r--r-- | ext/Data/Dumper/Dumper.xs | 2 |
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; } |