summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Hristov <andrey@php.net>2010-06-21 14:49:45 +0000
committerAndrey Hristov <andrey@php.net>2010-06-21 14:49:45 +0000
commit523960892cbca784215a0ac9ef9ecaca61cdd6f2 (patch)
tree0b244c76582bcdbdd9999f0fa421b8141f19aa85
parent7c419199d1a87743f68e8cc8152c0c83591dd87d (diff)
downloadphp-git-523960892cbca784215a0ac9ef9ecaca61cdd6f2.tar.gz
fix valgrind warnings on 64bit, thread_is is strictly 32bit
-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 b8d927ce57..d8be242e36 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",