1
0
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:
Russ Cox 2010-02-16 17:30:33 -08:00
parent cfff862862
commit 401062f720

View File

@ -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