author | Alan Coopersmith <Alan.Coopersmith@Oracle.COM> |
Mon, 10 Oct 2016 13:26:21 -0700 | |
changeset 7081 | 616e1d8621e7 |
parent 5110 | 92c73cda9414 |
permissions | -rw-r--r-- |
# Patch is from RedHat binutils-2.25.1 src rpm. # No need to send to binutils, they know about it. --- bfd/srec.c 2014-11-04 01:54:41.000000000 -0800 +++ bfd/srec.c 2015-11-14 22:32:41.094053576 -0800 @@ -249,7 +249,7 @@ char buf[40]; if (! ISPRINT (c)) - sprintf (buf, "\\%03o", (unsigned int) c); + sprintf (buf, "\\%03o", (unsigned int) (c & 0xff)); else { buf[0] = c;