Fix message arg type
[babeltrace.git] / formats / ctf / ctf.c
index ce21464e562b0601540f7beacb96c8da3b597c20..6e45ea3612f603664cbee66fb5d0d90e512f215a 100644 (file)
@@ -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;
                }
 
This page took 0.024022 seconds and 4 git commands to generate.