1
0
mirror of https://github.com/janet-lang/janet synced 2025-10-31 07:33:01 +00:00

Fix warnings on BSDs.

This commit is contained in:
Calvin Rose
2019-12-29 19:53:35 -05:00
parent 099a957e6c
commit a964a95c1e
2 changed files with 6 additions and 1 deletions

View File

@@ -671,7 +671,7 @@ JanetAbstract janet_checkfile(Janet j) {
return janet_checkabstract(j, &cfun_io_filetype);
}
FILE* janet_unwrapfile(Janet j, int *flags) {
FILE *janet_unwrapfile(Janet j, int *flags) {
IOFile *iof = janet_unwrap_abstract(j);
if (NULL != flags) *flags = iof->flags;
return iof->file;