Skip to content

Commit 7eb85f2

Browse files
committed
Merge branch 'patch-1' of https://github.com/Alex-Yuen/msgpack-php
2 parents ce77249 + 5e1a8c1 commit 7eb85f2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

msgpack_convert.c

+4-4
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@
44
#include "msgpack_convert.h"
55
#include "msgpack_errors.h"
66

7-
static inline int msgpack_convert_long_to_properties(HashTable *ht, zval *object, HashTable **properties, HashPosition *prop_pos, uint key_index, zval *val, HashTable *var) /* {{{ */ {
7+
static inline int msgpack_convert_long_to_properties(HashTable *ht, zval *object, HashTable **properties, HashPosition *prop_pos, unsigned int key_index, zval *val, HashTable *var) /* {{{ */ {
88
zval key_zv;
99
HashTable *props = *properties;
1010

1111
if (props != NULL) {
1212
zval *data, tplval, *dataval, prop_key_zv;
1313
zend_string *prop_key;
14-
ulong prop_key_index;
14+
zend_ulong prop_key_index;
1515
const char *class_name, *prop_name;
1616
size_t prop_len;
1717

@@ -102,7 +102,7 @@ static inline int msgpack_convert_string_to_properties(zval *object, zend_string
102102
int msgpack_convert_array(zval *return_value, zval *tpl, zval *value) /* {{{ */ {
103103
zend_string *key;
104104
int key_type;
105-
ulong key_index;
105+
zend_ulong key_index;
106106
zval *data;
107107
HashTable *ht, *htval;
108108

@@ -329,7 +329,7 @@ int msgpack_convert_object(zval *return_value, zval *tpl, zval *value) /* {{{ */
329329
HashTable *ht, *ret, *var = NULL;
330330
zend_string *str_key;
331331
zval *data;
332-
ulong num_key;
332+
zend_ulong num_key;
333333

334334
ht = HASH_OF(value);
335335
ret = HASH_OF(return_value);

0 commit comments

Comments
 (0)