Skip to content

Commit d113a9c

Browse files
authored
Merge pull request andreiz#38 from sunpoet/master
Fix build with PHP 7.4
2 parents 4993480 + f6f0d91 commit d113a9c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

php_zookeeper.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1064,7 +1064,7 @@ static void php_parse_acl_list(zval *z_acl, struct ACL_vector *aclv)
10641064
{
10651065
int size = 0;
10661066
int i = 0;
1067-
ulong index = 0;
1067+
zend_ulong index = 0;
10681068
zend_string *key;
10691069
zval *entry = NULL;
10701070
zval *perms = NULL;

php_zookeeper_callback.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ typedef struct _php_cb_data_t {
2424
zend_fcall_info fci;
2525
zend_fcall_info_cache fcc;
2626
zend_bool oneshot;
27-
ulong h;
27+
zend_ulong h;
2828
HashTable *ht;
2929
#if ZTS
3030
void ***ctx;

0 commit comments

Comments
 (0)