gas signed overflow fixes
[deliverable/binutils-gdb.git] / gas / config / tc-tic6x.c
index cd12c82dce164c01d60922115f5dfc1ef13dd0dd..6260ecb983319915e0a86e7b1be42eb4a24f0a08 100644 (file)
@@ -5060,7 +5060,7 @@ tic6x_output_unwinding (bfd_boolean need_extab)
       if (unwind->personality_index == -1)
        {
          tmp = md_chars_to_number (unwind->frag_start + 4, 4);
-         tmp |= ((unwind->data_bytes - 8) >> 2) << 24;
+         tmp |= (valueT) ((unwind->data_bytes - 8) >> 2) << 24;
          md_number_to_chars (unwind->frag_start + 4, tmp, 4);
        }
       else if (unwind->personality_index == 1 || unwind->personality_index == 2)
This page took 0.032033 seconds and 4 git commands to generate.