Fixed build errors after SDL_IOWhence change

This commit is contained in:
Sam Lantinga
2024-06-09 08:26:29 -07:00
committed by Ryan C. Gordon
parent 9651ca5918
commit 3e018517c3
3 changed files with 4 additions and 4 deletions

View File

@@ -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),