From: Mathieu Desnoyers Date: Sat, 19 Nov 2011 16:46:36 +0000 (-0500) Subject: Fix 32-bit compile type size warning X-Git-Tag: v1.9.1~61 X-Git-Url: http://git.lttng.org/?p=lttng-ust.git;a=commitdiff_plain;h=361dedfbfa637b384213892a1cbe8d0e82f03599 Fix 32-bit compile type size warning Signed-off-by: Mathieu Desnoyers --- diff --git a/tests/ust-multi-test/ust-multi-test.c b/tests/ust-multi-test/ust-multi-test.c index b0ef25a4..cfd6d355 100644 --- a/tests/ust-multi-test/ust-multi-test.c +++ b/tests/ust-multi-test/ust-multi-test.c @@ -259,7 +259,7 @@ int consume_stream(struct lttng_ust_shm_handle *handle, int cpu, char *outfile) printf("WRITE: copy %lu bytes\n", read_size); copy_size = write(outfd, ptr, read_size); if (copy_size < read_size) { - printf("write issue: copied %zd, expected %lu\n", copy_size, read_size); + printf("write issue: copied %lu, expected %lu\n", copy_size, read_size); } lib_ring_buffer_put_next_subbuf(buf, handle); }