From 8fe48a6f120586a8df05b299f3079d267b7c5f9f Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Tue, 23 Nov 2004 05:20:49 +0000 Subject: [PATCH] (RE_TRANSLATE_P): Don't use XFASTINT blindly. --- src/config.in | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/config.in b/src/config.in index fe1adc39f9d..7721d1c5d6e 100644 --- a/src/config.in +++ b/src/config.in @@ -1,7 +1,8 @@ /* src/config.in. Generated from configure.in by autoheader. */ /* GNU Emacs site configuration template file. - Copyright (C) 1988, 93, 94, 99, 2000, 2002 Free Software Foundation, Inc. + Copyright (C) 1988, 1993, 1994, 1999, 2000, 2002, 2004 + Free Software Foundation, Inc. This file is part of GNU Emacs. @@ -968,7 +969,7 @@ Boston, MA 02111-1307, USA. */ /* Tell regex.c to use a type compatible with Emacs. */ #define RE_TRANSLATE_TYPE Lisp_Object #define RE_TRANSLATE(TBL, C) CHAR_TABLE_TRANSLATE (TBL, C) -#define RE_TRANSLATE_P(TBL) (XFASTINT (TBL) != 0) +#define RE_TRANSLATE_P(TBL) (!EQ (TBL, make_number (0))) #endif /* Avoid link-time collision with system mktime if we will use our own. */ -- 2.39.5