summaryrefslogtreecommitdiff
path: root/vfs_stdio.c
diff options
context:
space:
mode:
authorGravatar Alexey Yakovenko <wakeroid@gmail.com>2009-10-15 20:14:35 +0200
committerGravatar Alexey Yakovenko <wakeroid@gmail.com>2009-10-15 20:14:35 +0200
commit060a73647ac000de8b6e8e542e02d36cd449f0a1 (patch)
tree3d4108fe3cbd0b030f2912bdf45ba431e090f07b /vfs_stdio.c
parentb4fedc9d44b63fc259ed04f14900d09f72cab602 (diff)
fixed type bug in vfs_stdio
Diffstat (limited to 'vfs_stdio.c')
-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);