about summary refs log tree commit diff
path: root/stdio-common
diff options
context:
space:
mode:
Diffstat (limited to 'stdio-common')
-rw-r--r--stdio-common/tst-swprintf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/stdio-common/tst-swprintf.c b/stdio-common/tst-swprintf.c
index a7e232dd4f..e65234b1c2 100644
--- a/stdio-common/tst-swprintf.c
+++ b/stdio-common/tst-swprintf.c
@@ -31,14 +31,14 @@ main (void)
   if (n != nexp)							      \
     {									      \
       printf ("swprintf (.., .., L\"%ls\", \"%ls\") return %d, not %d\n",     \
-	      fmt, input, (int) n, (int) nexp);				      \
+	      fmt, (wchar_t*) input, (int) n, (int) nexp);		      \
       result = 1;							      \
     }									      \
   else if (wcscmp (buf, exp) != 0)					      \
     {									      \
       printf ("\
 swprintf (.., .., L\"%ls\", \"%ls\") produced \"%ls\", not \"%ls\"\n",	      \
-	     fmt, input, buf, exp );					      \
+	     fmt, (wchar_t *) input, buf, exp );			      \
       result = 1;							      \
     }