(encode_designation_at_bol): Fix type of local vars C1, C2.
[bpt/emacs.git] / src / coding.c
index 378f5d5..e22581b 100644 (file)
@@ -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)