mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-11 02:50:24 +00:00
54eaefebf1
Reported by: (pointyhat) Pav
12 lines
505 B
C
12 lines
505 B
C
--- ./cstdlib/stdio.c.orig 2011-02-21 06:22:13.000000000 +0100
|
|
+++ ./cstdlib/stdio.c 2011-03-11 08:08:19.710970864 +0100
|
|
@@ -414,7 +414,7 @@
|
|
|
|
void StdioFileno(struct ParseState *Parser, struct Value *ReturnValue, struct Value **Param, int NumArgs)
|
|
{
|
|
- ReturnValue->Val->Integer = fileno(Param[0]->Val->Pointer);
|
|
+ ReturnValue->Val->Integer = fileno((FILE *)Param[0]->Val->Pointer);
|
|
}
|
|
|
|
void StdioFflush(struct ParseState *Parser, struct Value *ReturnValue, struct Value **Param, int NumArgs)
|