diff options
author | philippe <philippe@a5019735-40e9-0310-863c-91ae7b9d1cf9> | 2015-05-17 18:37:14 +0000 |
---|---|---|
committer | philippe <philippe@a5019735-40e9-0310-863c-91ae7b9d1cf9> | 2015-05-17 18:37:14 +0000 |
commit | bc1b77cdc8a9cb1959a80edbd0b0e636801a27e5 (patch) | |
tree | b77e31b6aec40a4769acf7f105687e75b60dcba1 | |
parent | f618565d1e46d9dfb2f94198c8fe740ca429c528 (diff) | |
download | valgrind-bc1b77cdc8a9cb1959a80edbd0b0e636801a27e5.tar.gz |
Avoid warning about %d and long int
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15252 a5019735-40e9-0310-863c-91ae7b9d1cf9
-rw-r--r-- | coregrind/m_gdbserver/remote-utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/coregrind/m_gdbserver/remote-utils.c b/coregrind/m_gdbserver/remote-utils.c index f5f31c1e6..978e07c8b 100644 --- a/coregrind/m_gdbserver/remote-utils.c +++ b/coregrind/m_gdbserver/remote-utils.c @@ -868,7 +868,7 @@ int putpkt_binary (char *buf, int cnt) *tr++ = 0; dlog(3, "putpkt (\"%s\"); (%slen %d) %s\n", tracebuf, strlen(tracebuf) == p - buf2 ? "binary " : "", - p - buf2, + (int)(p - buf2), noack_mode ? "[no ack]" : "[looking for ack]"); free (tracebuf); } |