diff options
author | Yiduo (David) Wang <davidw@php.net> | 2007-10-07 21:47:36 +0000 |
---|---|---|
committer | Yiduo (David) Wang <davidw@php.net> | 2007-10-07 21:47:36 +0000 |
commit | f4f0a474331ac31a14391748446663252a35e8e3 (patch) | |
tree | 9511cf1ada91b4dd1a39b61a65643e7c57308eda /ext/mysqlnd/mysqlnd_alloc.c | |
parent | 66a24c86a6bc9e4050cfb05e0d5c4e9bd460fdd5 (diff) | |
download | php-git-f4f0a474331ac31a14391748446663252a35e8e3.tar.gz |
Fix build for mysqlnd
Diffstat (limited to 'ext/mysqlnd/mysqlnd_alloc.c')
-rw-r--r-- | ext/mysqlnd/mysqlnd_alloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mysqlnd/mysqlnd_alloc.c b/ext/mysqlnd/mysqlnd_alloc.c index 9b3b819fcd..b37479b67e 100644 --- a/ext/mysqlnd/mysqlnd_alloc.c +++ b/ext/mysqlnd/mysqlnd_alloc.c @@ -174,7 +174,7 @@ void mysqlnd_alloc_cache_prealloc(MYSQLND_ZVAL_CACHE * const cache, unsigned int void mysqlnd_alloc_zval_ptr_dtor(zval **zv, MYSQLND_ZVAL_CACHE * const cache) { - if (!cache || ZVAL_REFCOUNT(*zv) > 1 || cache->max_items == cache->free_items) { + if (!cache || Z_REFCOUNT_PP(zv) > 1 || cache->max_items == cache->free_items) { #ifndef MYSQLND_SILENT php_printf("[mysqlnd_alloc_zval_ptr_dtor %p]1 last_added-1=%p *zv=%p\n", cache->free_list->last_added, *zv); #endif |