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
commit80e5ef6fa59507b6733ed6a5b132c21e64158d06 (patch)
treeda88eb2315ad4e0d2c9286b6a6d07211da1232cc /ext/mysqlnd/mysqlnd_wireprotocol.c
parent5c18a8b6c51bbc50497c3106460407f23cb1b063 (diff)
downloadphp-git-80e5ef6fa59507b6733ed6a5b132c21e64158d06.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;