mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-06 14:43:20 +00:00
Fixed build errors after SDL_IOWhence change
This commit is contained in:
parent
9651ca5918
commit
3e018517c3
3 changed files with 4 additions and 4 deletions
|
|
@ -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),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue