* config/tc-h8300.c (constant_fits_width_p): Use correct type for
comparison.
+2011-01-20 Nick Clifton <nickc@redhat.com>
+
+ PR gas/12384
+ * config/tc-h8300.c (constant_fits_width_p): Use correct type for
+ comparison.
+
2011-01-18 H.J. Lu <hongjiu.lu@intel.com>
* write.c (compress_debug): Return if section size is smaller
constant_fits_width_p (struct h8_op *operand, unsigned int width)
{
return ((operand->exp.X_add_number & ~width) == 0
- || (operand->exp.X_add_number | width) == (unsigned)(~0));
+ || (operand->exp.X_add_number | (offsetT) width) == (offsetT)(~0));
}
static int