diff options
author | Karl Heuer <kwzh@gnu.org> | 1995-01-18 20:52:48 +0000 |
---|---|---|
committer | Karl Heuer <kwzh@gnu.org> | 1995-01-18 20:52:48 +0000 |
commit | 0220c51857539b3bf812c3c0948efaa3429c3852 (patch) | |
tree | 98f18803cb65ab459c3e4e87b367b4a42da74489 /src/alloc.c | |
parent | c1d4ff308d5e9d24b4c3cc95b5fa9b3ad4af42a8 (diff) | |
download | emacs-0220c51857539b3bf812c3c0948efaa3429c3852.tar.gz |
Change all occurences of SWITCH_ENUM_BUG to use SWITCH_ENUM_CAST instead.
Diffstat (limited to 'src/alloc.c')
-rw-r--r-- | src/alloc.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/alloc.c b/src/alloc.c index 24acdaafea9..621cb6d3c0e 100644 --- a/src/alloc.c +++ b/src/alloc.c @@ -1,5 +1,5 @@ /* Storage allocation and gc for GNU Emacs Lisp interpreter. - Copyright (C) 1985, 1986, 1988, 1993, 1994 Free Software Foundation, Inc. + Copyright (C) 1985, 86, 88, 93, 94, 95 Free Software Foundation, Inc. This file is part of GNU Emacs. @@ -1502,11 +1502,7 @@ mark_object (objptr) if (last_marked_index == LAST_MARKED_SIZE) last_marked_index = 0; -#ifdef SWITCH_ENUM_BUG - switch ((int) XGCTYPE (obj)) -#else - switch (XGCTYPE (obj)) -#endif + switch (SWITCH_ENUM_CAST (XGCTYPE (obj))) { case Lisp_String: { |