aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gas/symbols.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gas/symbols.c b/gas/symbols.c
index fa3aaa37..8401b4e 100644
--- a/gas/symbols.c
+++ b/gas/symbols.c
@@ -1721,7 +1721,8 @@ resolve_symbol_value (symbolS *symp)
switch (symp->x->value.X_op)
{
- case O_multiply: left *= right; break;
+ /* See expr() for reasons of the use of valueT casts here. */
+ case O_multiply: left *= (valueT) right; break;
case O_divide: left /= right; break;
case O_modulus: left %= right; break;
case O_left_shift: