summaryrefslogtreecommitdiffstats
path: root/cmake/LargeFiles64.c
diff options
context:
space:
mode:
authorBenjamin Dobell <benjamin.dobell+git@glassechidna.com.au>2014-11-17 06:06:06 +0100
committerBenjamin Dobell <benjamin.dobell+git@glassechidna.com.au>2014-11-17 06:06:06 +0100
commitb9e722768f47d9118d594fba5cf00fc1c90ee862 (patch)
treeadd7534c8efb3215e39b9ba59a4ddc190ce3ec97 /cmake/LargeFiles64.c
parentContinue to support autotools... for now (diff)
downloadHeimdall-b9e722768f47d9118d594fba5cf00fc1c90ee862.tar
Heimdall-b9e722768f47d9118d594fba5cf00fc1c90ee862.tar.gz
Heimdall-b9e722768f47d9118d594fba5cf00fc1c90ee862.tar.bz2
Heimdall-b9e722768f47d9118d594fba5cf00fc1c90ee862.tar.lz
Heimdall-b9e722768f47d9118d594fba5cf00fc1c90ee862.tar.xz
Heimdall-b9e722768f47d9118d594fba5cf00fc1c90ee862.tar.zst
Heimdall-b9e722768f47d9118d594fba5cf00fc1c90ee862.zip
Diffstat (limited to 'cmake/LargeFiles64.c')
-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;
}