diff options
author | Dmitry Stogov <dmitry@zend.com> | 2016-06-23 12:47:06 +0300 |
---|---|---|
committer | Dmitry Stogov <dmitry@zend.com> | 2016-06-23 12:47:06 +0300 |
commit | adc95c511495f00cd1a90feff5fff7968e38fc4a (patch) | |
tree | 594019d7d287296c8bd12b47ff41e889f84aa7f9 /ext/mysqlnd/mysqlnd_wireprotocol.c | |
parent | 4ac29543d6e70d6914e85d36f9b50e18968ebea6 (diff) | |
download | php-git-adc95c511495f00cd1a90feff5fff7968e38fc4a.tar.gz |
Fixed compilation warnings
Diffstat (limited to 'ext/mysqlnd/mysqlnd_wireprotocol.c')
-rw-r--r-- | ext/mysqlnd/mysqlnd_wireprotocol.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mysqlnd/mysqlnd_wireprotocol.c b/ext/mysqlnd/mysqlnd_wireprotocol.c index 825c56feae..48b64c19f0 100644 --- a/ext/mysqlnd/mysqlnd_wireprotocol.c +++ b/ext/mysqlnd/mysqlnd_wireprotocol.c @@ -1611,7 +1611,7 @@ php_mysqlnd_rowp_read_binary_protocol(MYSQLND_MEMORY_POOL_CHUNK * row_buffer, zv MYSQLND_INC_CONN_STATISTIC_W_VALUE2(stats, statistic, 1, STAT_BYTES_RECEIVED_PURE_DATA_PS, (Z_TYPE_P(current_field) == IS_STRING)? - Z_STRLEN_P(current_field) : (p - orig_p)); + Z_STRLEN_P(current_field) : (size_t)(p - orig_p)); if (!((bit<<=1) & 255)) { bit = 1; /* to the following byte */ |