summaryrefslogtreecommitdiff
path: root/test/misc/seek.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/misc/seek.c')
-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);