Fixes compile error in support/stdio.c on XA
authorNiklas Therning <niklas@therning.org>
Thu, 17 Nov 2016 21:14:24 +0000 (22:14 +0100)
committerNiklas Therning <niklas@therning.org>
Thu, 17 Nov 2016 21:14:24 +0000 (22:14 +0100)
support/stdio.c

index b914dfdb1d098ec4d4518fd5b28f13b770200b2c..c05913fbe248dc180443701fefae557f9409f50c 100644 (file)
@@ -276,13 +276,13 @@ Mono_Posix_Stdlib_ungetc (gint32 c, void* stream)
 gint32
 Mono_Posix_Stdlib_feof (void* stream)
 {
-       return feof (stream);
+       return feof (((FILE*) stream));
 }
 
 gint32
 Mono_Posix_Stdlib_ferror (void* stream)
 {
-       return ferror (stream);
+       return ferror (((FILE*) stream));
 }
 
 int