aboutsummaryrefslogtreecommitdiff
path: root/bfd/bout.c
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/bout.c')
-rw-r--r--bfd/bout.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/bout.c b/bfd/bout.c
index a99bfde..25a6b25 100644
--- a/bfd/bout.c
+++ b/bfd/bout.c
@@ -522,11 +522,11 @@ b_out_slurp_reloc_table (abfd, asect, symbols)
cache_ptr->howto = 0;
if (abfd->xvec->header_byteorder_big_p)
{
- symnum = (raw[4] << 16) | (raw[5] << 8) | raw[6];
+ symnum = ((int) raw[4] << 16) | ((int) raw[5] << 8) | (int) raw[6];
}
else
{
- symnum = (raw[6] << 16) | (raw[5] << 8) | raw[4];
+ symnum = ((int) raw[6] << 16) | ((int) raw[5] << 8) | (int) raw[4];
}
if (raw[7] & extern_mask)