From: Paul Floyd Date: Tue, 29 Oct 2024 19:31:06 +0000 (+0100) Subject: macOS: compiler warnings X-Git-Tag: VALGRIND_3_24_0~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a488029d6955797283eede8744652b0d25b2c5c1;p=thirdparty%2Fvalgrind.git macOS: compiler warnings Debug traces in vgdb. --- diff --git a/coregrind/vgdb.c b/coregrind/vgdb.c index f05a766e8..786ead160 100644 --- a/coregrind/vgdb.c +++ b/coregrind/vgdb.c @@ -441,8 +441,8 @@ Bool write_buf(int fd, const char* buf, size_t size, const char* desc, { size_t nrwritten; ssize_t nrw; - DEBUG(2, "writing %s len %d %.*s notify: %d\n", desc, size, - size, buf, notify); + DEBUG(2, "writing %s len %zu %.*s notify: %d\n", desc, size, + (int)size, buf, notify); nrwritten = 0; while (nrwritten < size) { nrw = write(fd, buf+nrwritten, size - nrwritten);