diff options
author | Reeze Xia <reeze@php.net> | 2015-03-04 11:28:14 +0800 |
---|---|---|
committer | Reeze Xia <reeze@php.net> | 2015-03-04 11:28:14 +0800 |
commit | 98766e63751a29ec4ffd416d6fc5f0143fcd9d99 (patch) | |
tree | c52ec48618eb43934c8e9e4429987228d44a5845 /main/streams/mmap.c | |
parent | 2fa4d1d88bfdf0186cf448294cfaa45636edfdb3 (diff) | |
download | php-git-98766e63751a29ec4ffd416d6fc5f0143fcd9d99.tar.gz |
Fixed wrong parameter type of php_stream_mmap_range()
There are several warings about this.
The mode type should be php_stream_mmap_access_t but not php_stream_mmap_operate_t
Diffstat (limited to 'main/streams/mmap.c')
-rw-r--r-- | main/streams/mmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/streams/mmap.c b/main/streams/mmap.c index 4c9316fe6f..04427ed5c4 100644 --- a/main/streams/mmap.c +++ b/main/streams/mmap.c @@ -22,7 +22,7 @@ #include "php.h" #include "php_streams_int.h" -PHPAPI char *_php_stream_mmap_range(php_stream *stream, size_t offset, size_t length, php_stream_mmap_operation_t mode, size_t *mapped_len) +PHPAPI char *_php_stream_mmap_range(php_stream *stream, size_t offset, size_t length, php_stream_mmap_access_t mode, size_t *mapped_len) { php_stream_mmap_range range; |