From: Andrey Hristov Date: Mon, 21 Jun 2010 14:49:45 +0000 (+0000) Subject: fix valgrind warnings on 64bit, thread_is is strictly 32bit X-Git-Tag: php-5.3.3RC2~28 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=698539fa79d575ee962acc5f7caee0d53a30a9fb;p=php fix valgrind warnings on 64bit, thread_is is strictly 32bit --- 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",