summaryrefslogtreecommitdiff
path: root/localedata/tests-mbwc/tst_mbstowcs.c
diff options
context:
space:
mode:
Diffstat (limited to 'localedata/tests-mbwc/tst_mbstowcs.c')
-rw-r--r--localedata/tests-mbwc/tst_mbstowcs.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/localedata/tests-mbwc/tst_mbstowcs.c b/localedata/tests-mbwc/tst_mbstowcs.c
index 56928bd7dd..878df6a960 100644
--- a/localedata/tests-mbwc/tst_mbstowcs.c
+++ b/localedata/tests-mbwc/tst_mbstowcs.c
@@ -51,7 +51,7 @@ tst_mbstowcs (FILE * fp, int debug_flg)
if (debug_flg)
{
- fprintf (stderr, "mbstowcs: ret = %d\n", ret);
+ fprintf (stderr, "mbstowcs: ret = %zd\n", ret);
}
TST_IF_RETURN (S_MBSTOWCS)
@@ -71,7 +71,8 @@ tst_mbstowcs (FILE * fp, int debug_flg)
{
fprintf (stderr,
"mbstowcs: ws[%d] => 0x%lx : 0x%lx <= ws_ex[%d]\n",
- i, ws[i], ws_ex[i], i);
+ i, (unsigned long int) ws[i],
+ (unsigned long int) ws_ex[i], i);
}
if (ws[i] != ws_ex[i])