summaryrefslogtreecommitdiff
path: root/posix/bits/unistd.h
diff options
context:
space:
mode:
Diffstat (limited to 'posix/bits/unistd.h')
-rw-r--r--posix/bits/unistd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/posix/bits/unistd.h b/posix/bits/unistd.h
index 219b0560dd..cb82818ade 100644
--- a/posix/bits/unistd.h
+++ b/posix/bits/unistd.h
@@ -58,7 +58,7 @@ pread (int __fd, void *__buf, size_t __nbytes, __off_t __offset)
}
# else
extern __always_inline __wur ssize_t
-pread (int __fd, void *__buf, size_t __nbytes, __off_t __offset)
+pread (int __fd, void *__buf, size_t __nbytes, __off64_t __offset)
{
if (__bos0 (__buf) != (size_t) -1
&& (!__builtin_constant_p (__nbytes) || __nbytes > __bos0 (__buf)))