mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-15 07:48:14 +00:00
Fixed build errors after SDL_IOWhence change
This commit is contained in:

committed by
Ryan C. Gordon

parent
9651ca5918
commit
3e018517c3
@@ -2040,9 +2040,9 @@ Sint64 Android_JNI_FileSize(void *userdata)
|
||||
return (Sint64) AAsset_getLength64((AAsset *)userdata);
|
||||
}
|
||||
|
||||
Sint64 Android_JNI_FileSeek(void *userdata, Sint64 offset, int whence)
|
||||
Sint64 Android_JNI_FileSeek(void *userdata, Sint64 offset, SDL_IOWhence whence)
|
||||
{
|
||||
return (Sint64) AAsset_seek64((AAsset *)userdata, offset, whence);
|
||||
return (Sint64) AAsset_seek64((AAsset *)userdata, offset, (int)whence);
|
||||
}
|
||||
|
||||
int Android_JNI_FileClose(void *userdata)
|
||||
|
Reference in New Issue
Block a user