mirror of
https://github.com/php/php-src.git
synced 2024-11-23 18:04:36 +08:00
fix datatype mismatches
This commit is contained in:
parent
5b5e2d3d45
commit
b0d86d87d8
@ -243,7 +243,7 @@ ZEND_API void zend_llist_apply_with_arguments(zend_llist *l, llist_apply_with_ar
|
||||
}
|
||||
|
||||
|
||||
ZEND_API int zend_llist_count(zend_llist *l)
|
||||
ZEND_API size_t zend_llist_count(zend_llist *l)
|
||||
{
|
||||
return l->count;
|
||||
}
|
||||
|
@ -59,7 +59,7 @@ ZEND_API void zend_llist_apply(zend_llist *l, llist_apply_func_t func TSRMLS_DC)
|
||||
ZEND_API void zend_llist_apply_with_del(zend_llist *l, int (*func)(void *data));
|
||||
ZEND_API void zend_llist_apply_with_argument(zend_llist *l, llist_apply_with_arg_func_t func, void *arg TSRMLS_DC);
|
||||
ZEND_API void zend_llist_apply_with_arguments(zend_llist *l, llist_apply_with_args_func_t func TSRMLS_DC, int num_args, ...);
|
||||
ZEND_API int zend_llist_count(zend_llist *l);
|
||||
ZEND_API size_t zend_llist_count(zend_llist *l);
|
||||
ZEND_API void zend_llist_sort(zend_llist *l, llist_compare_func_t comp_func TSRMLS_DC);
|
||||
|
||||
/* traversal */
|
||||
|
@ -177,7 +177,7 @@ void php_stream_display_wrapper_errors(php_stream_wrapper *wrapper, const char *
|
||||
size_t l = 0;
|
||||
int brlen;
|
||||
int i;
|
||||
int count = zend_llist_count(err_list);
|
||||
int count = (int)zend_llist_count(err_list);
|
||||
const char *br;
|
||||
const char **err_buf_p;
|
||||
zend_llist_position pos;
|
||||
|
Loading…
Reference in New Issue
Block a user