diff options
author | Ulrich Drepper <drepper@redhat.com> | 2002-08-25 08:44:43 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2002-08-25 08:44:43 +0000 |
commit | 6d497bbef7f18e37f862c2eaa1820f87546936e1 (patch) | |
tree | 534e2ec81ac34ec866783d811a0124da1867366c /localedata/tests-mbwc/tst_wcsncpy.c | |
parent | 5a47e7f2a85ecc103175095c0f4104065fd4d8db (diff) | |
download | glibc-6d497bbef7f18e37f862c2eaa1820f87546936e1.tar.gz glibc-6d497bbef7f18e37f862c2eaa1820f87546936e1.tar.xz glibc-6d497bbef7f18e37f862c2eaa1820f87546936e1.zip |
Update.
* libio/tst-freopen.c (main): Use correct formats for __LINE__. * libio/tst-mmap-setvbuf.c (main): Likewise. * libio/tst-widetext.c (main): Likewise. * libio/tst-mmap-eofsync.c (do_test): Use correct format in error message. * libio/tst-mmap-fflushsync.c (do_test): Likewise. * libio/tst-mmap2-eofsync.c (do_test): Likewise.
Diffstat (limited to 'localedata/tests-mbwc/tst_wcsncpy.c')
-rw-r--r-- | localedata/tests-mbwc/tst_wcsncpy.c | 5 |
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]) { |