]> granicus.if.org Git - php/commitdiff
fix valgrind warnings on 64bit, thread_is is strictly 32bit
authorAndrey Hristov <andrey@php.net>
Mon, 21 Jun 2010 14:49:45 +0000 (14:49 +0000)
committerAndrey Hristov <andrey@php.net>
Mon, 21 Jun 2010 14:49:45 +0000 (14:49 +0000)
ext/mysqlnd/mysqlnd_wireprotocol.c

index 3975df831b0d32f3b58c2413518cf81bbb29647d..2285a2f5f530af15cfd6716d9467845ab9caef85 100644 (file)
@@ -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",