From a48976cc6bbff9908b11ce6013ae4ad47f505ffc Mon Sep 17 00:00:00 2001 From: Ted John Date: Tue, 6 Sep 2016 22:05:38 +0100 Subject: [PATCH] Fix x86 warning --- src/util/util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/util.c b/src/util/util.c index b391200f20..437176760e 100644 --- a/src/util/util.c +++ b/src/util/util.c @@ -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);