summaryrefslogtreecommitdiff
path: root/src/bytecode.c
diff options
context:
space:
mode:
authorGerd Moellmann <gerd@gnu.org>2001-10-06 23:37:52 +0000
committerGerd Moellmann <gerd@gnu.org>2001-10-06 23:37:52 +0000
commitf28e63712d9f08242a34ad4fd23182c11b4d6461 (patch)
tree9f933c7c9dc1743cb95fa6765dc77874e0fe10b8 /src/bytecode.c
parent2e3bf02a1fddc09f183b5cacd76b104f620279bd (diff)
downloademacs-f28e63712d9f08242a34ad4fd23182c11b4d6461.tar.gz
(Fbyte_code): Use MOST_POSITIVE_FIXNUM.
Diffstat (limited to 'src/bytecode.c')
-rw-r--r--src/bytecode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bytecode.c b/src/bytecode.c
index 2c4e1cca48d..f8ecc4f64c0 100644
--- a/src/bytecode.c
+++ b/src/bytecode.c
@@ -699,7 +699,7 @@ If the third argument is incorrect, Emacs may crash.")
v1 = TOP;
v2 = Fget (v1, Qbyte_code_meter);
if (INTEGERP (v2)
- && XINT (v2) != ((1<<VALBITS)-1))
+ && XINT (v2) < MOST_POSITIVE_FIXNUM)
{
XSETINT (v2, XINT (v2) + 1);
Fput (v1, Qbyte_code_meter, v2);