Commit 7a48db77 authored by Michael Büsch's avatar Michael Büsch

Fix compiler warning on certain architectures.

Signed-off-by: Michael Büsch's avatarMichael Buesch <mb@bu3sch.de>
parent 553a0556
......@@ -1130,7 +1130,8 @@ static void emit_code(struct assembler_context *ctx)
if (arg_print_sizes) {
printf("%s: text = %u instructions (%u bytes)\n",
fn, insn_count, insn_count * sizeof(uint64_t));
fn, insn_count,
(unsigned int)(insn_count * sizeof(uint64_t)));
}
fclose(fd);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment