From: Andreas Schwab Date: Tue, 14 Apr 1998 12:55:11 +0000 (+0000) Subject: (code_convert_region): Fix mixing of Lisp_Object and X-Git-Tag: emacs-20.3~1555 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=b39f748c489563187bd4c40f9f4c12f31640f490;p=emacs.git (code_convert_region): Fix mixing of Lisp_Object and int. --- diff --git a/src/coding.c b/src/coding.c index a98ca65eb9d..901eadf4337 100644 --- a/src/coding.c +++ b/src/coding.c @@ -4049,7 +4049,8 @@ code_convert_region (from, from_byte, to, to_byte, coding, encodep, replace) new buffer. */ struct buffer *prev = current_buffer, *new; - call2 (coding->pre_write_conversion, from, to); + call2 (coding->pre_write_conversion, + make_number (from), make_number (to)); if (current_buffer != prev) { len = ZV - BEGV;