changeset 89864:4ecedb099c92

(Ftranslate_region_internal): Fix Lisp_Object/int mixup.
author Kenichi Handa <handa@m17n.org>
date Thu, 11 Mar 2004 11:38:27 +0000
parents 428fc37b2ae6
children d2b1cc2ef7f1
files src/editfns.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/editfns.c	Thu Mar 11 11:21:39 2004 +0000
+++ b/src/editfns.c	Thu Mar 11 11:38:27 2004 +0000
@@ -2795,7 +2795,7 @@
   modify_region (current_buffer, XINT (start), XINT (end));
 
   cnt = 0;
-  for (; pos < end; )
+  for (; pos < XINT (end); )
     {
       register unsigned char *p = BYTE_POS_ADDR (pos_byte);
       unsigned char *str, buf[MAX_MULTIBYTE_LENGTH];