diff options
-rw-r--r-- | target-microblaze/translate.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/target-microblaze/translate.c b/target-microblaze/translate.c index 76b25704ba..d183e171d8 100644 --- a/target-microblaze/translate.c +++ b/target-microblaze/translate.c @@ -166,10 +166,10 @@ static void write_carry(DisasContext *dc, TCGv v) tcg_temp_free(t0); } -static void write_carryi(DisasContext *dc, int carry) +static void write_carryi(DisasContext *dc, bool carry) { TCGv t0 = tcg_temp_new(); - tcg_gen_movi_tl(t0, carry ? 1 : 0); + tcg_gen_movi_tl(t0, carry); write_carry(dc, t0); tcg_temp_free(t0); } |