From 0a7e08d385f5d478cdc51c4d4c52dd371a8f9c5b Mon Sep 17 00:00:00 2001 From: Andrey Hristov Date: Thu, 12 Nov 2015 14:04:37 +0100 Subject: MNDR: - cleanup in mysqlnd_result.c - switch from zend_ulong to size_t for lengths. Accordingly change mysqli and pdo_mysql for this. --- ext/pdo_mysql/php_pdo_mysql_int.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ext/pdo_mysql/php_pdo_mysql_int.h') diff --git a/ext/pdo_mysql/php_pdo_mysql_int.h b/ext/pdo_mysql/php_pdo_mysql_int.h index 1ae09ab50b..2d238e3cf2 100644 --- a/ext/pdo_mysql/php_pdo_mysql_int.h +++ b/ext/pdo_mysql/php_pdo_mysql_int.h @@ -126,9 +126,9 @@ typedef struct { const MYSQL_FIELD *fields; MYSQL_ROW current_data; #if PDO_USE_MYSQLND - zend_ulong *current_lengths; + const size_t *current_lengths; #else - zend_long *current_lengths; + zend_long *current_lengths; #endif pdo_mysql_error_info einfo; #if PDO_USE_MYSQLND @@ -144,7 +144,7 @@ typedef struct { #endif PDO_MYSQL_PARAM_BIND *bound_result; my_bool *out_null; - zend_ulong *out_length; + zend_ulong *out_length; unsigned int params_given; unsigned max_length:1; } pdo_mysql_stmt; -- cgit v1.2.1