diff --git a/lang/cem/libcc.ansi/stdlib/wctomb.c b/lang/cem/libcc.ansi/stdlib/wctomb.c index 1942f52b8..62a999f67 100644 --- a/lang/cem/libcc.ansi/stdlib/wctomb.c +++ b/lang/cem/libcc.ansi/stdlib/wctomb.c @@ -13,5 +13,5 @@ wctomb(char *s, wchar_t wchar) if (!s) return 0; /* no state dependent codings */ *s = wchar; - return (*s != '\0'); + return 1; }