summaryrefslogtreecommitdiff
path: root/ext/mysqlnd/mysqlnd_wireprotocol.c
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2014-08-25 20:22:49 +0200
committerAnatol Belski <ab@php.net>2014-08-25 20:22:49 +0200
commit4d997f63d98c663b2d9acccd3655572652f61c7d (patch)
treebce31fa83a23d3ad58d640d581d498f3bdd0cbf4 /ext/mysqlnd/mysqlnd_wireprotocol.c
parent6f9f0bf2056f0dc17d9bcc6dd3b7d28ac878c6fc (diff)
downloadphp-git-4d997f63d98c663b2d9acccd3655572652f61c7d.tar.gz
master renames phase 3
Diffstat (limited to 'ext/mysqlnd/mysqlnd_wireprotocol.c')
-rw-r--r--ext/mysqlnd/mysqlnd_wireprotocol.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mysqlnd/mysqlnd_wireprotocol.c b/ext/mysqlnd/mysqlnd_wireprotocol.c
index c42059c641..5af676d02f 100644
--- a/ext/mysqlnd/mysqlnd_wireprotocol.c
+++ b/ext/mysqlnd/mysqlnd_wireprotocol.c
@@ -1731,7 +1731,7 @@ php_mysqlnd_rowp_read_text_protocol_aux(MYSQLND_MEMORY_POOL_CHUNK * row_buffer,
*/
p -= len;
if (Z_TYPE_P(current_field) == IS_LONG) {
- bit_area += 1 + sprintf((char *)start, ZEND_INT_FMT, Z_LVAL_P(current_field));
+ bit_area += 1 + sprintf((char *)start, ZEND_LONG_FMT, Z_LVAL_P(current_field));
ZVAL_STRINGL(current_field, (char *) start, bit_area - start - 1);
} else if (Z_TYPE_P(current_field) == IS_STRING){
memcpy(bit_area, Z_STRVAL_P(current_field), Z_STRLEN_P(current_field));