fix fgetwc test in api/wchar.c
authorSzabolcs Nagy <nsz@port70.net>
Thu, 5 Dec 2013 01:04:52 +0000 (01:04 +0000)
committerSzabolcs Nagy <nsz@port70.net>
Thu, 5 Dec 2013 01:04:52 +0000 (01:04 +0000)
src/api/wchar.c

index 3a44486..a4a1f33 100644 (file)
@@ -19,7 +19,7 @@ C(WCHAR_MIN)
 C(WEOF)
 {void *x=NULL;}
 {wint_t(*p)(int) = btowc;}
-{wint_t(FILE*) = fgetwc;}
+{wint_t(*p)(FILE*) = fgetwc;}
 {wchar_t*(*p)(wchar_t*restrict,int,FILE*restrict) = fgetws;}
 {wint_t(*p)(wchar_t,FILE*) = fputwc;}
 {int(*p)(const wchar_t*restrict,FILE*restrict) = fputws;}