Fix win32 warnings

This commit is contained in:
Liru Færs
2019-10-11 15:53:27 -04:00
parent b5afce0bbd
commit bd2c67e8ec
12 changed files with 28 additions and 27 deletions

View File

@@ -439,7 +439,7 @@ bool LLScriptEdCore::loadScriptText(const std::string& filename)
// read in the whole file
fseek(file, 0L, SEEK_END);
long file_length = ftell(file);
size_t file_length = ftell(file);
fseek(file, 0L, SEEK_SET);
if (file_length > 0)
{