summaryrefslogtreecommitdiff
path: root/ext/mysqli/php_mysqli.h
diff options
context:
space:
mode:
authorGeorg Richter <georg@php.net>2004-09-02 04:52:07 +0000
committerGeorg Richter <georg@php.net>2004-09-02 04:52:07 +0000
commit2c99f0230c7a61a2d2d4f46df7869bfeded82fa4 (patch)
tree16089393be21a10b76ef878d941e6464436fab08 /ext/mysqli/php_mysqli.h
parentea138b85abda4b0ffe810f8fba8bfa573480bf88 (diff)
downloadphp-git-2c99f0230c7a61a2d2d4f46df7869bfeded82fa4.tar.gz
fixed compiler warnings
fixed bug #29283
Diffstat (limited to 'ext/mysqli/php_mysqli.h')
-rw-r--r--ext/mysqli/php_mysqli.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mysqli/php_mysqli.h b/ext/mysqli/php_mysqli.h
index c5a090fa2e..f42e6f48f9 100644
--- a/ext/mysqli/php_mysqli.h
+++ b/ext/mysqli/php_mysqli.h
@@ -180,7 +180,7 @@ PHP_MYSQLI_EXPORT(zend_object_value) mysqli_objects_new(zend_class_entry * TSRML
} \
__ptr = (__type)my_res->ptr; \
if (!strcmp((char *)__name, "mysqli_stmt")) {\
- if (!((MYSQL_STMT *)__ptr)->mysql) {\
+ if (! ((MY_STMT *)__ptr)->stmt->mysql) {\
php_error(E_WARNING, "Statement isn't valid anymore");\
RETURN_NULL();\
}\