summaryrefslogtreecommitdiff
path: root/ext/mysqlnd/mysqlnd_palloc.c
diff options
context:
space:
mode:
authorAndrey Hristov <andrey@php.net>2008-11-20 17:21:36 +0000
committerAndrey Hristov <andrey@php.net>2008-11-20 17:21:36 +0000
commitd43b7b022f3f654a7995f38eccb8a5d18b6c3402 (patch)
tree7898d39509e774d917a308ba45217e266680d74f /ext/mysqlnd/mysqlnd_palloc.c
parente61c2e8c174f1bbdb0230d91723bb2a56a4b0e11 (diff)
downloadphp-git-d43b7b022f3f654a7995f38eccb8a5d18b6c3402.tar.gz
MFH:
Windows fixes for mysqlnd Less warnings + PHPAPI for mysqlnd_poll
Diffstat (limited to 'ext/mysqlnd/mysqlnd_palloc.c')
-rw-r--r--ext/mysqlnd/mysqlnd_palloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mysqlnd/mysqlnd_palloc.c b/ext/mysqlnd/mysqlnd_palloc.c
index f64dd17ada..1d72dcd634 100644
--- a/ext/mysqlnd/mysqlnd_palloc.c
+++ b/ext/mysqlnd/mysqlnd_palloc.c
@@ -492,7 +492,7 @@ void mysqlnd_palloc_zval_ptr_dtor(zval **zv, MYSQLND_THD_ZVAL_PCACHE * const thd
thd_cache->gc_list.last_added,
*thd_cache->gc_list.last_added,
cache->free_list.canary1, cache->free_list.canary2);
- if ((thd_cache->gc_list.last_added - thd_cache->gc_list.ptr_line) > cache->max_items) {
+ if ((thd_cache->gc_list.last_added - thd_cache->gc_list.ptr_line) > (int) cache->max_items) {
DBG_ERR("Buffer overflow follows");
DBG_ERR_FMT("parent->max_items=%d parent->free_items=%d diff=%d",
cache->max_items, cache->free_items,