summary refs log tree commit diff
path: root/stdio-common/tst-fgets.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2006-01-02 10:52:59 +0000
committerJakub Jelinek <jakub@redhat.com>2006-01-02 10:52:59 +0000
commit0db2497936950725ae71e997091ef276a3ec43ee (patch)
tree7d66db137accea00fe402dfabf8e5de3a4af58c6 /stdio-common/tst-fgets.c
parentb9ea6c38033d6ab0bda9dddb34cc7a4c6ff82084 (diff)
downloadglibc-0db2497936950725ae71e997091ef276a3ec43ee.tar.gz
glibc-0db2497936950725ae71e997091ef276a3ec43ee.tar.xz
glibc-0db2497936950725ae71e997091ef276a3ec43ee.zip
Updated to fedora-glibc-20060102T1045
Diffstat (limited to 'stdio-common/tst-fgets.c')
-rw-r--r--stdio-common/tst-fgets.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stdio-common/tst-fgets.c b/stdio-common/tst-fgets.c
index b8e205c7dc..0aa9030e3a 100644
--- a/stdio-common/tst-fgets.c
+++ b/stdio-common/tst-fgets.c
@@ -5,7 +5,7 @@
 static int
 do_test (void)
 {
-  FILE *fp = fmemopen ("hello", 5, "r");
+  FILE *fp = fmemopen ((char *) "hello", 5, "r");
   char buf[2];
   char *bp = fgets (buf, sizeof (buf), fp);
   printf ("fgets: %s\n", bp == buf ? "OK" : "ERROR");