diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2011-03-11 07:11:26 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2011-03-11 07:11:26 +0000 |
commit | 54eaefebf1fc335e733d2ad7784fa8de442d79f3 (patch) | |
tree | 6d12a4c92f5f468f05a4d8d7d3a9d51f057a3d14 /lang/picoc/files/patch-cstdlib__stdio.c | |
parent | - upgrade to 2.4.2 (diff) |
Add forgotten patches
Reported by: (pointyhat) Pav
Diffstat (limited to 'lang/picoc/files/patch-cstdlib__stdio.c')
-rw-r--r-- | lang/picoc/files/patch-cstdlib__stdio.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lang/picoc/files/patch-cstdlib__stdio.c b/lang/picoc/files/patch-cstdlib__stdio.c new file mode 100644 index 000000000000..69197e88ccf3 --- /dev/null +++ b/lang/picoc/files/patch-cstdlib__stdio.c @@ -0,0 +1,11 @@ +--- ./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) |