Fix printing shift amount for ARM mov.
authorChristoph Mallon <christoph.mallon@gmx.de>
Tue, 24 Jun 2008 17:38:43 +0000 (17:38 +0000)
committerChristoph Mallon <christoph.mallon@gmx.de>
Tue, 24 Jun 2008 17:38:43 +0000 (17:38 +0000)
[r20244]

ir/be/arm/arm_emitter.c

index 7405e6d..7c7b809 100644 (file)
@@ -241,9 +241,9 @@ void arm_emit_shift(const ir_node *node) {
 
        mod = get_arm_shift_modifier(node);
        if (ARM_HAS_SHIFT(mod)) {
 
        mod = get_arm_shift_modifier(node);
        if (ARM_HAS_SHIFT(mod)) {
-               long v = get_arm_imm_value(node);
+               int v = get_arm_imm_value(node);
 
 
-               be_emit_irprintf(", %s #%l", arm_shf_mod_name(mod), v);
+               be_emit_irprintf(", %s #%d", arm_shf_mod_name(mod), v);
        }
 }
 
        }
 }