diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2020-08-04 15:54:31 +0200 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2020-08-05 10:39:37 +0200 |
commit | 4cc4f9c00a4c43811074286494a621d4c9252613 (patch) | |
tree | fce540897280bb096bb9f5192f97af8af14eb369 /main | |
parent | ef773bf4d5cbd96a6f5c904b2feec6c9fe598589 (diff) | |
download | php-git-4cc4f9c00a4c43811074286494a621d4c9252613.tar.gz |
Use standard types in fopencookie test
Instead of internal __size_t / __off64_t types use ssize_t and off64_t.
This makes it work on musl as well.
Diffstat (limited to 'main')
-rw-r--r-- | main/streams/cast.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/streams/cast.c b/main/streams/cast.c index 262ec5e38f..73421a7588 100644 --- a/main/streams/cast.c +++ b/main/streams/cast.c @@ -103,7 +103,7 @@ static ssize_t stream_cookie_writer(void *cookie, const char *buffer, size_t siz } # ifdef COOKIE_SEEKER_USES_OFF64_T -static int stream_cookie_seeker(void *cookie, __off64_t *position, int whence) +static int stream_cookie_seeker(void *cookie, off64_t *position, int whence) { *position = php_stream_seek((php_stream *)cookie, (zend_off_t)*position, whence); |