diff options
Diffstat (limited to 'src/lib9/utf/utfrrune.c')
-rw-r--r-- | src/lib9/utf/utfrrune.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib9/utf/utfrrune.c b/src/lib9/utf/utfrrune.c index 2273ec551..9e28af82a 100644 --- a/src/lib9/utf/utfrrune.c +++ b/src/lib9/utf/utfrrune.c @@ -24,7 +24,7 @@ utfrrune(const char *s, Rune c) const char *s1; if(c < Runesync) /* not part of utf sequence */ - return strrchr(s, c); + return strrchr(s, (char)c); s1 = 0; for(;;) { |