X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=driver%2Fgen_firm_asm.c;h=8a02fc057e871e59f17d29a397ccfe39096dca09;hb=ae52b69dfadbd0835e01f55167d979cb6a9a6305;hp=66d47a2b18fea98f4e4b011d498dd3939a89712e;hpb=2a7937c5a31479262a9677cc0da3defd50b92a03;p=cparser diff --git a/driver/gen_firm_asm.c b/driver/gen_firm_asm.c index 66d47a2..8a02fc0 100644 --- a/driver/gen_firm_asm.c +++ b/driver/gen_firm_asm.c @@ -510,7 +510,7 @@ static void generate_code_Const(FILE *f, ir_node *n) else { def_mode: tarval_snprintf(buf, sizeof(buf), tv); - fprintf(f, "new_tarval_from_str(\"%s\", %u, ", buf, strlen(buf)); + fprintf(f, "new_tarval_from_str(\"%s\", %u, ", buf, (unsigned) strlen(buf)); fprintf(f, "mode_%s)", get_mode_name(mode)); } }