From 698539fa79d575ee962acc5f7caee0d53a30a9fb Mon Sep 17 00:00:00 2001 From: Andrey Hristov Date: Mon, 21 Jun 2010 14:49:45 +0000 Subject: fix valgrind warnings on 64bit, thread_is is strictly 32bit --- 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 3975df831b..2285a2f5f5 100644 --- a/ext/mysqlnd/mysqlnd_wireprotocol.c +++ b/ext/mysqlnd/mysqlnd_wireprotocol.c @@ -373,7 +373,7 @@ php_mysqlnd_greet_read(void *_packet, MYSQLND *conn TSRMLS_DC) packet->pre41 = TRUE; } - DBG_INF_FMT("proto=%d server=%s thread_id=%ld", + DBG_INF_FMT("proto=%d server=%s thread_id=%d", packet->protocol_version, packet->server_version, packet->thread_id); DBG_INF_FMT("server_capabilities=%d charset_no=%d server_status=%d", -- cgit v1.2.1