summaryrefslogtreecommitdiffstats
path: root/cmake/LargeFiles64.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--cmake/LargeFiles64.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/LargeFiles64.c b/cmake/LargeFiles64.c
index 57826b7..479993d 100644
--- a/cmake/LargeFiles64.c
+++ b/cmake/LargeFiles64.c
@@ -10,7 +10,7 @@
int main(int argc, const char **argv)
{
int a[(LARGE_OFF_T % 2147483629 == 721 && LARGE_OFF_T % 2147483647 == 1) ? VALID_ARRAY_LENGTH : INVALID_ARRAY_LENGTH];
- off_t offset = ftello64(NULL);
+ off64_t offset = ftello64(NULL);
fseeko64(NULL, offset, SEEK_SET);
return 0;
}