]> code.delx.au - gnu-emacs/commitdiff
Merge from emacs-23 branch
authorChong Yidong <cyd@gnu.org>
Wed, 25 Jan 2012 05:55:01 +0000 (13:55 +0800)
committerChong Yidong <cyd@gnu.org>
Wed, 25 Jan 2012 05:55:01 +0000 (13:55 +0800)
src/ChangeLog
src/coding.c

index f9236f159cd0e8d5c7f9f097f26d547e4d8410e4..cc149458e02e48e8cfc370f82869d8080ea8066b 100644 (file)
@@ -1,3 +1,8 @@
+2012-01-25  HIROSHI OOTA  <nil@mad.dog.cx>  (tiny change)
+
+       * coding.c (encode_designation_at_bol): Change return value to
+       EMACS_INT.
+
 2012-01-25  Chong Yidong  <cyd@gnu.org>
 
        * eval.c (Fuser_variable_p): Doc fix; mention custom-variable-p.
index 5c3048f95e8d00a8781c63e5d9c6d5583771f22b..15e8572edb3a7c132d78180de7c2c50832e567fd 100644 (file)
@@ -855,7 +855,7 @@ static void coding_alloc_by_making_gap (struct coding_system *,
 static unsigned char *alloc_destination (struct coding_system *,
                                          EMACS_INT, unsigned char *);
 static void setup_iso_safe_charsets (Lisp_Object);
-static int encode_designation_at_bol (struct coding_system *,
+static EMACS_INT encode_designation_at_bol (struct coding_system *,
                                      int *, int *, unsigned char *);
 static int detect_eol (const unsigned char *,
                        EMACS_INT, enum coding_category);
@@ -4351,7 +4351,7 @@ encode_invocation_designation (struct charset *charset,
    If the current block ends before any end-of-line, we may fail to
    find all the necessary designations.  */
 
-static int
+static EMACS_INT
 encode_designation_at_bol (struct coding_system *coding,
                           int *charbuf, int *charbuf_end,
                           unsigned char *dst)