fixed const error when compiling for mutated total_need value in SDL_rwops.c

This commit is contained in:
Brian Kirkpatrick authored and Sam Lantinga committed 2022-12-14 20:25:40 -08:00
1 parent 83559503c4
commit e35730ac54
1 file changed
+1 -1
+1 -1
View File
@@ -185,7 +185,7 @@ static Sint64 SDLCALL windows_file_seek(SDL_RWops *context, Sint64 offset, int w
static Sint64 SDLCALL static Sint64 SDLCALL
windows_file_read(SDL_RWops *context, void *ptr, Sint64 size) windows_file_read(SDL_RWops *context, void *ptr, Sint64 size)
{ {
const size_t total_need = (size_t) size; size_t total_need = (size_t) size;
size_t total_read = 0; size_t total_read = 0;
size_t read_ahead; size_t read_ahead;
DWORD byte_read; DWORD byte_read;