summaryrefslogtreecommitdiff
path: root/ext/pdo_mysql/php_pdo_mysql_int.h
diff options
context:
space:
mode:
authorAndrey Hristov <andrey@php.net>2015-11-12 14:04:37 +0100
committerAndrey Hristov <andrey@php.net>2015-11-12 16:19:16 +0100
commit0a7e08d385f5d478cdc51c4d4c52dd371a8f9c5b (patch)
tree10b11d845946bf98f9b17e41abbbd13114cde3b6 /ext/pdo_mysql/php_pdo_mysql_int.h
parentabc8c000727845adf7ad0505044d85bbb49294df (diff)
downloadphp-git-0a7e08d385f5d478cdc51c4d4c52dd371a8f9c5b.tar.gz
MNDR:
- cleanup in mysqlnd_result.c - switch from zend_ulong to size_t for lengths. Accordingly change mysqli and pdo_mysql for this.
Diffstat (limited to 'ext/pdo_mysql/php_pdo_mysql_int.h')
-rw-r--r--ext/pdo_mysql/php_pdo_mysql_int.h6
1 files changed, 3 insertions, 3 deletions
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;