diff options
author | Dmitry Stogov <dmitry@zend.com> | 2014-07-15 15:50:42 +0400 |
---|---|---|
committer | Dmitry Stogov <dmitry@zend.com> | 2014-07-15 15:50:42 +0400 |
commit | b4c2bd227743e4ab9d47bf624911b230b3237b51 (patch) | |
tree | 2fc9d41f122c01bbc397128fd8bd65bf5c2e12bf /win32/registry.c | |
parent | bcc677789c1832916af77994059873a30d145a72 (diff) | |
download | php-git-b4c2bd227743e4ab9d47bf624911b230b3237b51.tar.gz |
Fixed compilation on Windows
Diffstat (limited to 'win32/registry.c')
-rw-r--r-- | win32/registry.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/win32/registry.c b/win32/registry.c index e7d1b2b2a9..ade09aa486 100644 --- a/win32/registry.c +++ b/win32/registry.c @@ -146,8 +146,9 @@ static int LoadDirectory(HashTable *directories, HKEY key, char *path, int path_ return ret; } -static void delete_internal_hashtable(void *data) +static void delete_internal_hashtable(zval *zv) { + void *data = Z_PTR_P(zv); zend_hash_destroy(*(HashTable**)data); free(*(HashTable**)data); } |