about summary refs log tree commit diff
path: root/localedata/tests-mbwc/tst_wcsncpy.c
diff options
context:
space:
mode:
Diffstat (limited to 'localedata/tests-mbwc/tst_wcsncpy.c')
-rw-r--r--localedata/tests-mbwc/tst_wcsncpy.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/localedata/tests-mbwc/tst_wcsncpy.c b/localedata/tests-mbwc/tst_wcsncpy.c
index f2127d4a7d..814bbc0a8b 100644
--- a/localedata/tests-mbwc/tst_wcsncpy.c
+++ b/localedata/tests-mbwc/tst_wcsncpy.c
@@ -54,7 +54,7 @@ tst_wcsncpy (FILE *fp, int debug_flg)
 	{
 	  if (debug_flg)
 	    {
-	      fprintf (stderr, "\nwcsncpy: n = %d\n\n", n);
+	      fprintf (stderr, "\nwcsncpy: n = %zu\n\n", n);
 	    }
 
 	  ws_ex = TST_EXPECT (wcsncpy).ws;
@@ -64,7 +64,8 @@ tst_wcsncpy (FILE *fp, int debug_flg)
 	      if (debug_flg)
 		fprintf (stderr,
 			 "wcsncpy: ws1[ %d ] = 0x%lx <-> wx_ex[ %d ] = 0x%lx\n",
-			 i, ws1[i], i, ws_ex[i]);
+			 i, (unsigned long int) ws1[i], i,
+			 (unsigned long int) ws_ex[i]);
 
 	      if (ws1[i] != ws_ex[i])
 		{