summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vfs_stdio.c4
1 files changed, 2 insertions, 2 deletions
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);