From: Mathieu Desnoyers Date: Sat, 19 Nov 2011 16:10:53 +0000 (-0500) Subject: Fix 32-bit type warning X-Git-Url: http://git.efficios.com/?a=commitdiff_plain;h=7210fb23a3244e86128b930b227330fa31d5d898;p=lttng-ust.git Fix 32-bit type warning Signed-off-by: Mathieu Desnoyers --- diff --git a/liblttng-ust-comm/lttng-ust-comm.c b/liblttng-ust-comm/lttng-ust-comm.c index aa3e761e..b4fe11b0 100644 --- a/liblttng-ust-comm/lttng-ust-comm.c +++ b/liblttng-ust-comm/lttng-ust-comm.c @@ -459,7 +459,7 @@ int ustcomm_recv_fd(int sock) goto end; } if (ret != sizeof(data_fd)) { - fprintf(stderr, "Received %d bytes, expected %ld", ret, sizeof(data_fd)); + fprintf(stderr, "Received %d bytes, expected %zd", ret, sizeof(data_fd)); goto end; } cmsg = CMSG_FIRSTHDR(&msg);