diff options
author | Ulrich Drepper <drepper@redhat.com> | 2001-02-09 17:57:28 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2001-02-09 17:57:28 +0000 |
commit | 257bdad02163893320cdb0adf9a56fdb5cf7827b (patch) | |
tree | 29928572df9f18111c3a0a38e22c6fbb649d03e9 /libio | |
parent | 7c5bb945c280c1ac231ba0cabedcc8a80cf77af8 (diff) | |
download | glibc-257bdad02163893320cdb0adf9a56fdb5cf7827b.tar.gz |
Update.
2001-02-09 Ulrich Drepper <drepper@redhat.com>
* libio/tst_wscanf.c (main): Add cast to avoid warning.
* libio/tst_swscanf.c (main): Likewise..
Diffstat (limited to 'libio')
-rw-r--r-- | libio/tst_swscanf.c | 2 | ||||
-rw-r--r-- | libio/tst_wscanf.c | 2 |
2 files changed, 2 insertions, 2 deletions
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; } |