changeset 39639:f5ac153e5b5c

(make_gap): Use MOST_POSITIVE_FIXNUM.
author Gerd Moellmann <gerd@gnu.org>
date Sat, 06 Oct 2001 23:46:55 +0000
parents 911382113c16
children 6f7166fc8eec
files src/insdel.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/insdel.c	Sat Oct 06 23:44:55 2001 +0000
+++ b/src/insdel.c	Sat Oct 06 23:46:55 2001 +0000
@@ -539,7 +539,7 @@
      That won't work because so many places use `int'.  */
      
   if (Z_BYTE - BEG_BYTE + GAP_SIZE + nbytes_added
-      >= ((unsigned) 1 << (min (BITS_PER_INT, VALBITS) - 1)))
+      >= MOST_POSITIVE_FIXNUM)
     error ("Buffer exceeds maximum size");
 
   enlarge_buffer_text (current_buffer, nbytes_added);