]> git.eshelyaron.com Git - emacs.git/commitdiff
(Ftranspose_regions): Use EMACS_INT for positions.
authorStefan Monnier <monnier@iro.umontreal.ca>
Tue, 10 Jul 2007 15:23:36 +0000 (15:23 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Tue, 10 Jul 2007 15:23:36 +0000 (15:23 +0000)
src/editfns.c

index 5fd40ed51c7b40aa60c3e7d815b43d15a0cb2d08..f88d0a6b54c81609de9a6cde213461d148484e9e 100644 (file)
@@ -4112,9 +4112,9 @@ Transposing beyond buffer boundaries is an error.  */)
      (startr1, endr1, startr2, endr2, leave_markers)
      Lisp_Object startr1, endr1, startr2, endr2, leave_markers;
 {
-  register int start1, end1, start2, end2;
-  int start1_byte, start2_byte, len1_byte, len2_byte;
-  int gap, len1, len_mid, len2;
+  register EMACS_INT start1, end1, start2, end2;
+  EMACS_INT start1_byte, start2_byte, len1_byte, len2_byte;
+  EMACS_INT gap, len1, len_mid, len2;
   unsigned char *start1_addr, *start2_addr, *temp;
 
   INTERVAL cur_intv, tmp_interval1, tmp_interval_mid, tmp_interval2, tmp_interval3;