From 52e8dfd960f9fa9c53f9ee06c33338d241cca2a3 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Fri, 4 Jul 1997 20:44:52 +0000 Subject: Fix bugs with inappropriate mixing of Lisp_Object with int. --- src/casetab.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/casetab.c') diff --git a/src/casetab.c b/src/casetab.c index 29a237cb948..a933be69c7d 100644 --- a/src/casetab.c +++ b/src/casetab.c @@ -31,7 +31,8 @@ Lisp_Object Vascii_canon_table, Vascii_eqv_table; /* Used as a temporary in DOWNCASE and other macros in lisp.h. No need to mark it, since it is used only very temporarily. */ -Lisp_Object case_temp1, case_temp2; +int case_temp1; +Lisp_Object case_temp2; static void set_canon (); static void set_identity (); @@ -207,7 +208,7 @@ static void shuffle (table, c, elt) Lisp_Object table, c, elt; { - if (NATNUMP (elt) && c != elt) + if (NATNUMP (elt) && !EQ (c, elt)) { Lisp_Object tem = Faref (table, elt); Faset (table, elt, c); -- cgit v1.2.1