about summary refs log tree commit diff
path: root/localedata/tests-mbwc/tst_wcstok.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-08-25 08:44:43 +0000
committerUlrich Drepper <drepper@redhat.com>2002-08-25 08:44:43 +0000
commit6d497bbef7f18e37f862c2eaa1820f87546936e1 (patch)
tree534e2ec81ac34ec866783d811a0124da1867366c /localedata/tests-mbwc/tst_wcstok.c
parent5a47e7f2a85ecc103175095c0f4104065fd4d8db (diff)
downloadglibc-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_wcstok.c')
-rw-r--r--localedata/tests-mbwc/tst_wcstok.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/localedata/tests-mbwc/tst_wcstok.c b/localedata/tests-mbwc/tst_wcstok.c
index 3b80a61011..1222b97855 100644
--- a/localedata/tests-mbwc/tst_wcstok.c
+++ b/localedata/tests-mbwc/tst_wcstok.c
@@ -35,11 +35,11 @@ tst_wcstok (FILE * fp, int debug_flg)
 	if (debug_flg)
 	  {
 	    fprintf (stdout, "wcstok() [ %s : %d : %d ] *ret  = 0x%lx\n",
-		     locale, rec + 1, seq_num + 1, *ret);
+		     locale, rec + 1, seq_num + 1, (unsigned long int) *ret);
 	    if (pt && *pt)
 	      {
 		fprintf (stdout, "			 *pt   = 0x%lx\n",
-			 *pt);
+			 (unsigned long int) *pt);
 	      }
 	  }
 
@@ -63,7 +63,9 @@ tst_wcstok (FILE * fp, int debug_flg)
 		  {
 		    fprintf (stderr,
 			     "			      ret[%d] = 0x%lx <-> "
-			     "0x%lx = ws_ex[%d]\n", i, ret[i], ws_ex[i], i);
+			     "0x%lx = ws_ex[%d]\n",
+			     i, (unsigned long int) ret[i],
+			     (unsigned long int) ws_ex[i], i);
 		  }
 
 		if (ret[i] != ws_ex[i])