summaryrefslogtreecommitdiff
path: root/libio
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-02-09 17:57:28 +0000
committerUlrich Drepper <drepper@redhat.com>2001-02-09 17:57:28 +0000
commit257bdad02163893320cdb0adf9a56fdb5cf7827b (patch)
tree29928572df9f18111c3a0a38e22c6fbb649d03e9 /libio
parentUpdate. (diff)
downloadglibc-257bdad02163893320cdb0adf9a56fdb5cf7827b.tar.gz
glibc-257bdad02163893320cdb0adf9a56fdb5cf7827b.tar.bz2
glibc-257bdad02163893320cdb0adf9a56fdb5cf7827b.zip
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.c2
-rw-r--r--libio/tst_wscanf.c2
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;
}