ftell return signed

This commit is contained in:
iceman1001 2020-06-07 20:46:29 +02:00
parent 1bb7b041c0
commit 93dbb24103

View file

@ -1143,7 +1143,8 @@ int loadFileDICTIONARYEx(const char *preferredName, void *data, size_t maxdatale
// read file
while (!feof(f)) {
size_t filepos = ftell(f);
long filepos = ftell(f);
if (!fgets(line, sizeof(line), f)) {
if (endFilePosition)
*endFilePosition = 0;