View | Details | Raw Unified | Return to bug 18750 | Differences between
and this patch

Collapse All | Expand All

(-)a/bfd/ihex.c (-1 / +1 lines)
Lines 219-225 ihex_bad_byte (bfd *abfd, unsigned int lineno, int c, bfd_boolean error) Link Here
219
      char buf[10];
219
      char buf[10];
220
220
221
      if (! ISPRINT (c))
221
      if (! ISPRINT (c))
222
	sprintf (buf, "\\%03o", (unsigned int) c);
222
	sprintf (buf, "\\%03o", (unsigned int) (c & 0xff));
223
      else
223
      else
224
	{
224
	{
225
	  buf[0] = c;
225
	  buf[0] = c;

Return to bug 18750