forked from rosebudai/OpenRCT2-Web
Fix x86 warning
This commit is contained in:
1 parent
78a38b07b9
commit
a48976cc6b
1 file changed
+1
-1
+1
-1
@@ -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