From 257bdad02163893320cdb0adf9a56fdb5cf7827b Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 9 Feb 2001 17:57:28 +0000 Subject: Update. 2001-02-09 Ulrich Drepper * libio/tst_wscanf.c (main): Add cast to avoid warning. * libio/tst_swscanf.c (main): Likewise.. --- libio/tst_swscanf.c | 2 +- libio/tst_wscanf.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'libio') diff --git a/libio/tst_swscanf.c b/libio/tst_swscanf.c index 59e5324c0e..372f0fc7d3 100644 --- a/libio/tst_swscanf.c +++ b/libio/tst_swscanf.c @@ -31,7 +31,7 @@ main (int argc, char *argv[]) || strcmp (buf3, "three") != 0 || c4 != '!' || wc5 != L'!') { printf ("*** FAILED, n = %Zu, buf1 = \"%s\", wbuf2 = L\"%S\", buf3 = \"%s\", c4 = '%c', wc5 = L'%C'\n", - n, buf1, wbuf2, buf3, c4, wc5); + n, buf1, wbuf2, buf3, c4, (wint_t) wc5); result = 1; } diff --git a/libio/tst_wscanf.c b/libio/tst_wscanf.c index 97bc518124..df209838c2 100644 --- a/libio/tst_wscanf.c +++ b/libio/tst_wscanf.c @@ -21,7 +21,7 @@ main (int argc, char *argv[]) || c3 != '!' || wc4 != L'!' || d != 42) { printf ("*** FAILED, n = %d, buf1 = \"%s\", wbuf2 = L\"%S\", c3 = '%c', wc4 = L'%C', d = %d\n", - n, buf1, wbuf2, c3, wc4, d); + n, buf1, wbuf2, c3, (wint_t) wc4, d); result = 1; } -- cgit 1.4.1