Permalink
Browse files

* src/coding.c (encode_designation_at_bol): Change return value to EM…

…ACS_INT.
  • Loading branch information...
1 parent f62b5c6 commit 55a0f718c4c37044e19392bc83eac389eb4ea773 @h2oota h2oota committed with Chong Yidong Jan 25, 2012
Showing with 8 additions and 3 deletions.
  1. +6 −1 src/ChangeLog
  2. +2 −2 src/coding.c
View
7 src/ChangeLog
@@ -1,7 +1,12 @@
-2012-01-19 Chong Yidong <cyd@gnu.org>
+2012-01-25 Chong Yidong <cyd@gnu.org>
* Version 23.4 released.
+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-19 Paul Eggert <eggert@cs.ucla.edu>
* coding.c (encode_designation_at_bol): Don't use uninitialized
View
4 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;

0 comments on commit 55a0f71

Please sign in to comment.