From 9a2d7205aa046af3f4caf1b35388e9100e2a25db Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Mon, 30 Sep 2002 07:47:16 +0000 Subject: Fix format strings. --- stdlib/tst-bsearch.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'stdlib') diff --git a/stdlib/tst-bsearch.c b/stdlib/tst-bsearch.c index 04ec02a..ad80776 100644 --- a/stdlib/tst-bsearch.c +++ b/stdlib/tst-bsearch.c @@ -67,7 +67,7 @@ main (void) res = (struct entry *) bsearch (&key, arr, narr, sizeof (arr[0]), comp); if (res == NULL) { - printf ("entry %d not found\n", cnt); + printf ("entry %zd not found\n", cnt); result = 1; } else if (res != &arr[cnt]) @@ -112,7 +112,7 @@ main (void) { if (res == NULL) { - printf ("entry %d not found\n", cnt); + printf ("entry %zd not found\n", cnt); result = 1; } else if (res != &arr[cnt]) -- cgit v1.1