diff options
| author | Andrey Hristov <andrey@php.net> | 2008-11-20 17:21:36 +0000 |
|---|---|---|
| committer | Andrey Hristov <andrey@php.net> | 2008-11-20 17:21:36 +0000 |
| commit | d43b7b022f3f654a7995f38eccb8a5d18b6c3402 (patch) | |
| tree | 7898d39509e774d917a308ba45217e266680d74f /ext/mysqlnd/mysqlnd_palloc.c | |
| parent | e61c2e8c174f1bbdb0230d91723bb2a56a4b0e11 (diff) | |
| download | php-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.c | 2 |
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, |
