]> granicus.if.org Git - php/commit
Fixed compiler warnings in mysqli
authorKalle Sommer Nielsen <kalle@php.net>
Tue, 5 Oct 2010 09:40:36 +0000 (09:40 +0000)
committerKalle Sommer Nielsen <kalle@php.net>
Tue, 5 Oct 2010 09:40:36 +0000 (09:40 +0000)
commitcc1eaba454145888b15be9537af5b9aea019af96
tree424924ab959f2614239a6af5d183b5c74467f0ae
parenta3f2895e6774430c8d085e7c1377675c7b5b35d3
Fixed compiler warnings in mysqli

 - mysqli.c: Fix unused variables, they are only used in non-mysqlnd mode
 - mysqli_api.c (PHP_5_3 only): Fix constness, add_property_string expects a char *, not a const char *
 - mysqli_prop.c: Cast to long, as its below the LONG_MAX and therefore safe
 - mysqli_result_iterator.c: Cast to ulong as the iterator member expects that rather than a my_longlong

# In trunk only warnings regarding the zend_property_info
# structure is present and PHP_5_3 is warning free now
ext/mysqli/mysqli.c
ext/mysqli/mysqli_prop.c
ext/mysqli/mysqli_result_iterator.c