mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-15 11:03:00 +01:00
Fix x86 warning
This commit is contained in:
@@ -154,7 +154,7 @@ bool readentirefile(const utf8 *path, void **outBuffer, size_t *outLength)
|
||||
return 0;
|
||||
|
||||
// Get length
|
||||
fpLength = SDL_RWsize(fp);
|
||||
fpLength = (size_t)SDL_RWsize(fp);
|
||||
|
||||
// Read whole file into a buffer
|
||||
fpBuffer = malloc(fpLength);
|
||||
|
||||
Reference in New Issue
Block a user