changeset 21520:ca4819c36ab9

(code_convert_region): Fix mixing of Lisp_Object and int.
author Andreas Schwab <schwab@suse.de>
date Tue, 14 Apr 1998 12:55:11 +0000
parents 9b26f9300d41
children 354a7085f1d7
files src/coding.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/coding.c	Tue Apr 14 12:53:36 1998 +0000
+++ b/src/coding.c	Tue Apr 14 12:55:11 1998 +0000
@@ -4049,7 +4049,8 @@
          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;