summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan C. Gordon <icculus@icculus.org>2012-11-03 22:46:03 -0400
committerRyan C. Gordon <icculus@icculus.org>2012-11-03 22:46:03 -0400
commitfd68d5fcceba81ff24b9888ae1ed6db3c7e42fea (patch)
tree048af2381d97bbe3001dac23f591058d73cc228e
parent9b0bc3b79fbc70983e556b52ed47ccb0ce3f6841 (diff)
Fixed symbol typo.
-rw-r--r--src/file/SDL_rwops.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/file/SDL_rwops.c b/src/file/SDL_rwops.c
index 3c519ef984..494955423e 100644
--- a/src/file/SDL_rwops.c
+++ b/src/file/SDL_rwops.c
@@ -318,8 +318,8 @@ static Sint64 SDLCALL
stdio_seek(SDL_RWops * context, Sint64 offset, int whence)
{
#ifdef HAVE_FSEEKO64
- if (fseek64o(context->hidden.stdio.fp, (off64_t)offset, whence) == 0) {
- return ftell64o(context->hidden.stdio.fp);
+ if (fseeko64(context->hidden.stdio.fp, (off64_t)offset, whence) == 0) {
+ return ftello64(context->hidden.stdio.fp);
}
#elif defined(HAVE_FSEEKO)
if (fseeko(context->hidden.stdio.fp, (off_t)offset, whence) == 0) {