From 35cb86869d5e432f548125202b19691af1e49bda Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Tue, 9 Sep 1997 00:46:00 +0000 Subject: [PATCH] (encode_designation_at_bol): Fix type of local vars C1, C2. --- src/coding.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/coding.c b/src/coding.c index 378f5d5de0a..e22581b2c03 100644 --- a/src/coding.c +++ b/src/coding.c @@ -1440,7 +1440,8 @@ encode_designation_at_bol (coding, table, src, src_end, dstp) charset = CHARSET_AT (src); else { - int c_alt, c1, c2; + int c_alt; + unsigned char c1, c2; SPLIT_STRING(src, bytes, charset, c1, c2); if ((c_alt = unify_char (table, -1, charset, c1, c2)) >= 0) -- 2.39.5