]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Avoid warning about %d and long int
authorPhilippe Waroquiers <philippe.waroquiers@skynet.be>
Sun, 17 May 2015 18:37:14 +0000 (18:37 +0000)
committerPhilippe Waroquiers <philippe.waroquiers@skynet.be>
Sun, 17 May 2015 18:37:14 +0000 (18:37 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15252

coregrind/m_gdbserver/remote-utils.c

index f5f31c1e653e14d44d61f8bca1ae1096c9cd9723..978e07c8b38caa22281ca0ef65c250cabca19fa2 100644 (file)
@@ -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);
       }