mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-23 11:38:28 +00:00
fixed const error when compiling for mutated total_need value in SDL_rwops.c
This commit is contained in:

committed by
Sam Lantinga

parent
83559503c4
commit
e35730ac54
@@ -185,7 +185,7 @@ static Sint64 SDLCALL windows_file_seek(SDL_RWops *context, Sint64 offset, int w
|
||||
static Sint64 SDLCALL
|
||||
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 read_ahead;
|
||||
DWORD byte_read;
|
||||
|
Reference in New Issue
Block a user