Commit 401062f7 authored by Russ Cox's avatar Russ Cox

gc: fix build (signed char bug)

R=ken2
CC=golang-dev
https://golang.org/cl/210043
parent cfff8628
......@@ -1539,7 +1539,7 @@ Zconv(Fmt *fp)
switch(r) {
case Runeerror:
if(n == 1) {
fmtprint(fp, "\\x%02x", *(s-1));
fmtprint(fp, "\\x%02x", (uchar)*(s-1));
break;
}
// fall through
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment