diff options
Diffstat (limited to 'ext/intl/resourcebundle')
-rw-r--r-- | ext/intl/resourcebundle/resourcebundle.c | 2 | ||||
-rw-r--r-- | ext/intl/resourcebundle/resourcebundle_class.c | 8 | ||||
-rw-r--r-- | ext/intl/resourcebundle/resourcebundle_iterator.h | 4 |
3 files changed, 7 insertions, 7 deletions
diff --git a/ext/intl/resourcebundle/resourcebundle.c b/ext/intl/resourcebundle/resourcebundle.c index 66978eb888..1232a42868 100644 --- a/ext/intl/resourcebundle/resourcebundle.c +++ b/ext/intl/resourcebundle/resourcebundle.c @@ -32,7 +32,7 @@ void resourcebundle_extract_value( zval *return_value, ResourceBundle_object *so const int32_t* vfield; int32_t ilen; int i; - long lfield; + zend_long lfield; ResourceBundle_object* newrb; restype = ures_getType( source->child ); diff --git a/ext/intl/resourcebundle/resourcebundle_class.c b/ext/intl/resourcebundle/resourcebundle_class.c index 77f2e90588..a8252de638 100644 --- a/ext/intl/resourcebundle/resourcebundle_class.c +++ b/ext/intl/resourcebundle/resourcebundle_class.c @@ -77,9 +77,9 @@ static zend_object *ResourceBundle_object_create( zend_class_entry *ce TSRMLS_DC static void resourcebundle_ctor(INTERNAL_FUNCTION_PARAMETERS) { const char *bundlename; - int bundlename_len = 0; + size_t bundlename_len = 0; const char *locale; - int locale_len = 0; + size_t locale_len = 0; zend_bool fallback = 1; zval *object = return_value; @@ -259,7 +259,7 @@ PHP_FUNCTION( resourcebundle_get ) /* }}} */ /* {{{ resourcebundle_array_count */ -int resourcebundle_array_count(zval *object, long *count TSRMLS_DC) +int resourcebundle_array_count(zval *object, zend_long *count TSRMLS_DC) { ResourceBundle_object *rb; RESOURCEBUNDLE_METHOD_FETCH_OBJECT_NO_CHECK; @@ -315,7 +315,7 @@ ZEND_END_ARG_INFO() PHP_FUNCTION( resourcebundle_locales ) { char * bundlename; - int bundlename_len = 0; + size_t bundlename_len = 0; const char * entry; int entry_len; UEnumeration *icuenum; diff --git a/ext/intl/resourcebundle/resourcebundle_iterator.h b/ext/intl/resourcebundle/resourcebundle_iterator.h index 01a66650b9..32818f847f 100644 --- a/ext/intl/resourcebundle/resourcebundle_iterator.h +++ b/ext/intl/resourcebundle/resourcebundle_iterator.h @@ -25,10 +25,10 @@ typedef struct { zend_object_iterator intern; ResourceBundle_object *subject; zend_bool is_table; - long length; + zend_long length; zval current; char *currentkey; - long i; + zend_long i; } ResourceBundle_iterator; zend_object_iterator *resourcebundle_get_iterator( zend_class_entry *ce, zval *object, int byref TSRMLS_DC ); |