From 2a3ec70d100e2d721b2d14fd0a60ce90c17b51b8 Mon Sep 17 00:00:00 2001 From: Pierre Joye Date: Mon, 30 Nov 2009 10:56:01 +0000 Subject: - void is NaN, you can't do math ops on void. Declarations go first. Fix TS build --- ext/mysqlnd/mysqlnd_wireprotocol.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/mysqlnd/mysqlnd_wireprotocol.c') 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; -- cgit v1.2.1