Commit 1d65d88a authored by Thomas Jahns's avatar Thomas Jahns 🤸
Browse files

Fix incorrect cast.

parent 931413fd
......@@ -598,7 +598,7 @@ static int streamOpenA(const char *filename, const char *filemode, int filetype)
int (*streamOpenDelegate)(const char *filename, char filemode,
int filetype, stream_t *streamptr, int recordBufIsToBeCreated)
= (int (*)(const char *, const char *, int, stream_t *, int))
= (int (*)(const char *, char, int, stream_t *, int))
fileID = streamOpenDelegate(filename, 'r', filetype, streamptr, 1);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment