about summary refs log tree commit diff
path: root/libio
diff options
context:
space:
mode:
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;
     }