tsilence gcc - plan9port - [fork] Plan 9 from user space
(HTM) git clone git://src.adamsgaard.dk/plan9port
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit b5932d3d2a47d3cc111e84d6f015ce25242a83a9
(DIR) parent 811a3affff1ad8bd10e6728607e7cc6e0e338de8
(HTM) Author: rsc <devnull@localhost>
Date: Fri, 18 Mar 2005 21:51:52 +0000
silence gcc
Diffstat:
M src/cmd/tcs/utf.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/src/cmd/tcs/utf.c b/src/cmd/tcs/utf.c
t@@ -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;
}