summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-01-14 06:50:34 +0000
committerMike Frysinger <vapier@gentoo.org>2006-01-14 06:50:34 +0000
commit27642466ffffba99a9128314e70813c5302b2581 (patch)
tree08c1928fae90f1e6abad31df0a31fad7c4fea6f0
parentec9b0cbdec2313e0bbad3e4f62963a8b98dbcb6a (diff)
use regular fseeko()
-rw-r--r--test/misc/seek.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/misc/seek.c b/test/misc/seek.c
index 55404be6d..450fc0476 100644
--- a/test/misc/seek.c
+++ b/test/misc/seek.c
@@ -43,8 +43,8 @@ int main(void)
return 1;
}
- assert(fseeko64(fp, 1024, SEEK_SET) == 0);
- assert(fseeko64(fp, (off_t)-16, SEEK_CUR) == 0);
+ assert(fseeko(fp, 1024, SEEK_SET) == 0);
+ assert(fseeko(fp, (off_t)-16, SEEK_CUR) == 0);
ret = ftell(fp);
if (ret != (1024-16)) {
fprintf(stderr, "ftell() failed, we wanted pos %i but got %i: ", (1024-16), ret);