From 64cb4ee4f1059d1ec079a6a583d4dc93bb256f20 Mon Sep 17 00:00:00 2001 From: Jonas Kulla Date: Wed, 15 Jan 2014 01:43:46 +0100 Subject: [PATCH] Use stdint types --- src/filesystem.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/filesystem.cpp b/src/filesystem.cpp index 59459e9..dc0dcb6 100644 --- a/src/filesystem.cpp +++ b/src/filesystem.cpp @@ -734,14 +734,15 @@ static Sint64 SDL_RWopsSize(SDL_RWops *ops) 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); if (!f) return -1; - Sint64 base; + int64_t base; + switch (whence) { default: