aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/insdel.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/insdel.c b/src/insdel.c
index 74f8503422b..969f70dba6e 100644
--- a/src/insdel.c
+++ b/src/insdel.c
@@ -334,7 +334,7 @@ insert_1 (string, length, inherit)
334 register Lisp_Object temp; 334 register Lisp_Object temp;
335 335
336 /* Make sure point-max won't overflow after this insertion. */ 336 /* Make sure point-max won't overflow after this insertion. */
337 XSET (temp, Lisp_Int, length + Z); 337 XSETINT (temp, length + Z);
338 if (length + Z != XINT (temp)) 338 if (length + Z != XINT (temp))
339 error ("maximum buffer size exceeded"); 339 error ("maximum buffer size exceeded");
340 340
@@ -400,7 +400,7 @@ insert_from_string_1 (string, pos, length, inherit)
400 struct gcpro gcpro1; 400 struct gcpro gcpro1;
401 401
402 /* Make sure point-max won't overflow after this insertion. */ 402 /* Make sure point-max won't overflow after this insertion. */
403 XSET (temp, Lisp_Int, length + Z); 403 XSETINT (temp, length + Z);
404 if (length + Z != XINT (temp)) 404 if (length + Z != XINT (temp))
405 error ("maximum buffer size exceeded"); 405 error ("maximum buffer size exceeded");
406 406