From 5aebb2eea13e39362abaad9ceb63f08c7e2c4ea3 Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Thu, 23 Jun 2011 21:00:08 -0400 Subject: [PATCH] Fix message arg type Signed-off-by: Mathieu Desnoyers --- formats/ctf/ctf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/formats/ctf/ctf.c b/formats/ctf/ctf.c index ce21464e..6e45ea36 100644 --- a/formats/ctf/ctf.c +++ b/formats/ctf/ctf.c @@ -987,7 +987,7 @@ int create_stream_packet_index(struct ctf_trace *td, if (packet_index.packet_size > (filestats.st_size - packet_index.offset) * CHAR_BIT) { fprintf(stdout, "[error] Packet size (%zu bits) is larger than remaining file size (%zu bits).\n", - packet_index.content_size, (filestats.st_size - packet_index.offset) * CHAR_BIT); + packet_index.content_size, (size_t) (filestats.st_size - packet_index.offset) * CHAR_BIT); return -EINVAL; } -- 2.34.1