summaryrefslogtreecommitdiff
path: root/libc/stdio/stdio.cpp
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2017-11-08 01:57:38 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2017-11-08 01:57:38 +0000
commit3404bb11a36ee99a0fb2bcd7cfff3cbe0fe5da49 (patch)
tree819438bbceeafc028bf824c19355564d2825fd27 /libc/stdio/stdio.cpp
parent8574a1f63082240c92945cff15fba785a5a857e7 (diff)
parentbf54986d19a9111554a6d5bfb4214080413e18ab (diff)
Merge "Allow 32-bit fseeko/fseeko64 SEEK_CUR/SEEK_SET to exceed 2 GiB"
Diffstat (limited to 'libc/stdio/stdio.cpp')
-rw-r--r--libc/stdio/stdio.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/stdio/stdio.cpp b/libc/stdio/stdio.cpp
index 46d717a71..b4b2a3685 100644
--- a/libc/stdio/stdio.cpp
+++ b/libc/stdio/stdio.cpp
@@ -581,7 +581,7 @@ __strong_alias(fseek, fseeko);
int fseeko64(FILE* fp, off64_t offset, int whence) {
CHECK_FP(fp);
- return __fseeko64(fp, offset, whence, 8*sizeof(off_t));
+ return __fseeko64(fp, offset, whence, 8*sizeof(off64_t));
}
int fsetpos(FILE* fp, const fpos_t* pos) {