Use stdint types

This commit is contained in:
Jonas Kulla 2014-01-15 01:43:46 +01:00
parent 0f004b8601
commit 64cb4ee4f1
1 changed files with 3 additions and 2 deletions

View File

@ -734,14 +734,15 @@ static Sint64 SDL_RWopsSize(SDL_RWops *ops)
return PHYSFS_fileLength(f); return PHYSFS_fileLength(f);
} }
static Sint64 SDL_RWopsSeek(SDL_RWops *ops, Sint64 offset, int whence) static Sint64 SDL_RWopsSeek(SDL_RWops *ops, int64_t offset, int whence)
{ {
PHYSFS_File *f = sdlPHYS(ops); PHYSFS_File *f = sdlPHYS(ops);
if (!f) if (!f)
return -1; return -1;
Sint64 base; int64_t base;
switch (whence) switch (whence)
{ {
default: default: