From 060a73647ac000de8b6e8e542e02d36cd449f0a1 Mon Sep 17 00:00:00 2001 From: Alexey Yakovenko Date: Thu, 15 Oct 2009 20:14:35 +0200 Subject: fixed type bug in vfs_stdio --- vfs_stdio.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'vfs_stdio.c') diff --git a/vfs_stdio.c b/vfs_stdio.c index 0f7abf69..62fb1bee 100644 --- a/vfs_stdio.c +++ b/vfs_stdio.c @@ -60,12 +60,12 @@ stdio_read (void *ptr, size_t size, size_t nmemb, DB_FILE *stream) { } static int -stdio_seek (DB_FILE *stream, long offset, int whence) { +stdio_seek (DB_FILE *stream, int64_t offset, int whence) { assert (stream); return fseek (((STDIO_FILE *)stream)->stream, offset, whence); } -static long +static int64_t stdio_tell (DB_FILE *stream) { assert (stream); return ftell (((STDIO_FILE *)stream)->stream); -- cgit v1.2.3