mirror of
https://github.com/golang/go
synced 2024-11-21 19:24:45 -07:00
gc: fix build (signed char bug)
R=ken2 CC=golang-dev https://golang.org/cl/210043
This commit is contained in:
parent
cfff862862
commit
401062f720
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user