changeset 37950:f01f454ea6bf

(copy_overlays): Make ENABLE_CHECKING happy.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Thu, 31 May 2001 01:44:32 +0000
parents 1302dd937a79
children 07263f7795e2
files src/buffer.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/buffer.c	Wed May 30 15:32:04 2001 +0000
+++ b/src/buffer.c	Thu May 31 01:44:32 2001 +0000
@@ -436,13 +436,13 @@
       old_overlay = XCAR (list);
       charpos = marker_position (OVERLAY_START (old_overlay));
       start = Fmake_marker ();
-      Fset_marker (start, charpos, buffer);
+      Fset_marker (start, make_number (charpos), buffer);
       XMARKER (start)->insertion_type
 	= XMARKER (OVERLAY_START (old_overlay))->insertion_type;
 
       charpos = marker_position (OVERLAY_END (old_overlay));
       end = Fmake_marker ();
-      Fset_marker (end, charpos, buffer);
+      Fset_marker (end, make_number (charpos), buffer);
       XMARKER (end)->insertion_type
 	= XMARKER (OVERLAY_END (old_overlay))->insertion_type;