summaryrefslogtreecommitdiff
path: root/ext/mysqlnd/mysqlnd_debug.c
diff options
context:
space:
mode:
authorAndrey Hristov <andrey@php.net>2010-04-15 15:53:58 +0000
committerAndrey Hristov <andrey@php.net>2010-04-15 15:53:58 +0000
commit76d64590b02aaf423eb30dda1bcbfd057fc3d6d8 (patch)
treedefdc73aed4f2749fbd3879778e3053d1a9e5897 /ext/mysqlnd/mysqlnd_debug.c
parentcdac2b4ecf4cd67acef08d65790a888aeed475a8 (diff)
downloadphp-git-76d64590b02aaf423eb30dda1bcbfd057fc3d6d8.tar.gz
More int/uint comparison warning fixes
Diffstat (limited to 'ext/mysqlnd/mysqlnd_debug.c')
-rw-r--r--ext/mysqlnd/mysqlnd_debug.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/mysqlnd/mysqlnd_debug.c b/ext/mysqlnd/mysqlnd_debug.c
index b5d89e0ec2..9f6e46628b 100644
--- a/ext/mysqlnd/mysqlnd_debug.c
+++ b/ext/mysqlnd/mysqlnd_debug.c
@@ -311,7 +311,7 @@ MYSQLND_METHOD(mysqlnd_debug, func_enter)(MYSQLND_DEBUG * self,
if ((self->flags & MYSQLND_DEBUG_DUMP_TRACE) == 0 || self->file_name == NULL) {
return FALSE;
}
- if (zend_stack_count(&self->call_stack) >= self->nest_level_limit) {
+ if ((uint) zend_stack_count(&self->call_stack) >= self->nest_level_limit) {
return FALSE;
}
@@ -348,7 +348,7 @@ MYSQLND_METHOD(mysqlnd_debug, func_leave)(MYSQLND_DEBUG * self, unsigned int lin
if ((self->flags & MYSQLND_DEBUG_DUMP_TRACE) == 0 || self->file_name == NULL) {
return PASS;
}
- if (zend_stack_count(&self->call_stack) >= self->nest_level_limit) {
+ if ((uint) zend_stack_count(&self->call_stack) >= self->nest_level_limit) {
return PASS;
}