diff options
| author | Andrey Hristov <andrey@php.net> | 2008-11-20 17:29:55 +0000 |
|---|---|---|
| committer | Andrey Hristov <andrey@php.net> | 2008-11-20 17:29:55 +0000 |
| commit | 2452619ed73525216270b7c4ee95eda184fb8719 (patch) | |
| tree | 43fd74ea16e4efe8b145ff371c062c342930a08e /ext/mysqlnd/mysqlnd_palloc.c | |
| parent | 81f5248b004a95fc67724fb6db2d5794f3acec63 (diff) | |
| download | php-git-2452619ed73525216270b7c4ee95eda184fb8719.tar.gz | |
mysqlnd fixes for Windows :
- 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, |
