aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/tcs
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2005-03-18 21:51:52 +0000
committerrsc <devnull@localhost>2005-03-18 21:51:52 +0000
commitb5932d3d2a47d3cc111e84d6f015ce25242a83a9 (patch)
treeb3b90dacbb8f319a491b453e258610c1bd66740f /src/cmd/tcs
parent811a3affff1ad8bd10e6728607e7cc6e0e338de8 (diff)
downloadplan9port-b5932d3d2a47d3cc111e84d6f015ce25242a83a9.tar.gz
plan9port-b5932d3d2a47d3cc111e84d6f015ce25242a83a9.tar.bz2
plan9port-b5932d3d2a47d3cc111e84d6f015ce25242a83a9.zip
silence gcc
Diffstat (limited to 'src/cmd/tcs')
-rw-r--r--src/cmd/tcs/utf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/tcs/utf.c b/src/cmd/tcs/utf.c
index 8845759e..d3fa9398 100644
--- a/src/cmd/tcs/utf.c
+++ b/src/cmd/tcs/utf.c
@@ -247,7 +247,7 @@ runetoisoutf(char *str, Rune *rune)
* 000A0-000FF => A0; A0-FF
*/
if(c < Rune21) {
- str[0] = Char1;
+ str[0] = (char)Char1;
str[1] = c;
return 2;
}