From: HIROSHI OOTA Date: Wed, 25 Jan 2012 05:35:05 +0000 (+0800) Subject: * src/coding.c (encode_designation_at_bol): Change return value to EMACS_INT. X-Git-Tag: emacs-23.4 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=5f53d2441abf6eafe8e14f29d73e14afe8bec35f;p=emacs.git * src/coding.c (encode_designation_at_bol): Change return value to EMACS_INT. --- diff --git a/src/ChangeLog b/src/ChangeLog index 2331a30cd79..8e20731bc3a 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,7 +1,12 @@ -2012-01-19 Chong Yidong +2012-01-25 Chong Yidong * Version 23.4 released. +2012-01-25 HIROSHI OOTA (tiny change) + + * coding.c (encode_designation_at_bol): Change return value to + EMACS_INT. + 2012-01-19 Paul Eggert * coding.c (encode_designation_at_bol): Don't use uninitialized diff --git a/src/coding.c b/src/coding.c index 898bfd71f43..8e96db1f521 100644 --- a/src/coding.c +++ b/src/coding.c @@ -944,7 +944,7 @@ static void coding_alloc_by_making_gap P_ ((struct coding_system *, static unsigned char *alloc_destination P_ ((struct coding_system *, EMACS_INT, unsigned char *)); static void setup_iso_safe_charsets P_ ((Lisp_Object)); -static int encode_designation_at_bol P_ ((struct coding_system *, +static EMACS_INT encode_designation_at_bol P_ ((struct coding_system *, int *, int *, unsigned char *)); static int detect_eol P_ ((const unsigned char *, EMACS_INT, enum coding_category)); @@ -4509,7 +4509,7 @@ encode_invocation_designation (charset, coding, dst, p_nchars) 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 (coding, charbuf, charbuf_end, dst) struct coding_system *coding; int *charbuf, *charbuf_end;