summaryrefslogtreecommitdiff
path: root/ext/mysqlnd/mysqlnd_wireprotocol.c
diff options
context:
space:
mode:
authorPierre Joye <pajoye@php.net>2009-11-30 10:56:01 +0000
committerPierre Joye <pajoye@php.net>2009-11-30 10:56:01 +0000
commit2a3ec70d100e2d721b2d14fd0a60ce90c17b51b8 (patch)
tree73cc90d10ca2d3db695d8ad6cec4cacb3a62aa41 /ext/mysqlnd/mysqlnd_wireprotocol.c
parent8109abba8b4b037b192af4e8f2f0498d1d1b2926 (diff)
downloadphp-git-2a3ec70d100e2d721b2d14fd0a60ce90c17b51b8.tar.gz
- void is NaN, you can't do math ops on void. Declarations go first. Fix TS build
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 b4a94b18e1..b6b4ede3a9 100644
--- a/ext/mysqlnd/mysqlnd_wireprotocol.c
+++ b/ext/mysqlnd/mysqlnd_wireprotocol.c
@@ -1307,8 +1307,8 @@ php_mysqlnd_rset_header_read(void *_packet, MYSQLND *conn TSRMLS_DC)
static
void php_mysqlnd_rset_header_free_mem(void *_packet, zend_bool alloca TSRMLS_DC)
{
- DBG_ENTER("php_mysqlnd_rset_header_free_mem");
php_mysql_packet_rset_header *p= (php_mysql_packet_rset_header *) _packet;
+ DBG_ENTER("php_mysqlnd_rset_header_free_mem");
if (p->info_or_local_file) {
mnd_efree(p->info_or_local_file);
p->info_or_local_file = NULL;