From 2876046398950e59c3b3c460e67e6fec7ff2ba3c Mon Sep 17 00:00:00 2001 From: SVN Migration Date: Wed, 3 Dec 2008 20:30:45 +0000 Subject: This commit was manufactured by cvs2svn to create tag 'php_5_3_0alpha2'. --- ext/mysqlnd/mysqlnd_palloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/mysqlnd/mysqlnd_palloc.c') diff --git a/ext/mysqlnd/mysqlnd_palloc.c b/ext/mysqlnd/mysqlnd_palloc.c index 1d72dcd634..f64dd17ada 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) > (int) cache->max_items) { + if ((thd_cache->gc_list.last_added - thd_cache->gc_list.ptr_line) > 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, -- cgit v1.2.1