mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-26 13:08:29 +00:00
Fixed build errors after SDL_IOWhence change
This commit is contained in:

committed by
Ryan C. Gordon

parent
9651ca5918
commit
3e018517c3
@@ -190,7 +190,7 @@ static void testGenericIOStreamValidations(SDL_IOStream *rw, SDL_bool write)
|
||||
(int)i);
|
||||
|
||||
/* Invalid whence seek */
|
||||
i = SDL_SeekIO(rw, 0, 999);
|
||||
i = SDL_SeekIO(rw, 0, (SDL_IOWhence)999);
|
||||
SDLTest_AssertPass("Call to SDL_SeekIO(...,0,invalid_whence) succeeded");
|
||||
SDLTest_AssertCheck(
|
||||
i == (Sint64)(-1),
|
||||
|
Reference in New Issue
Block a user