From b39f748c489563187bd4c40f9f4c12f31640f490 Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Tue, 14 Apr 1998 12:55:11 +0000 Subject: [PATCH] (code_convert_region): Fix mixing of Lisp_Object and int. --- src/coding.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; -- 2.39.2