diff options
Diffstat (limited to 'gas/config/tc-sh.c')
-rw-r--r-- | gas/config/tc-sh.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/config/tc-sh.c b/gas/config/tc-sh.c index 5afaad8..1f33e10 100644 --- a/gas/config/tc-sh.c +++ b/gas/config/tc-sh.c @@ -3310,7 +3310,7 @@ md_apply_fix3 (fixP, valP, seg) char *buf = fixP->fx_where + fixP->fx_frag->fr_literal; int lowbyte = target_big_endian ? 1 : 0; int highbyte = target_big_endian ? 0 : 1; - long val = * (long *) valP; + long val = (long) *valP; long max, min; int shift; |