Mercurial > emacs
diff src/alloc.c @ 10457:2ab3bd0288a9
Change all occurences of SWITCH_ENUM_BUG to use SWITCH_ENUM_CAST instead.
| author | Karl Heuer <kwzh@gnu.org> |
|---|---|
| date | Wed, 18 Jan 1995 20:52:48 +0000 |
| parents | 5faba1b094d5 |
| children | 07d8c5ac0f60 |
line wrap: on
line diff
--- a/src/alloc.c Wed Jan 18 20:47:36 1995 +0000 +++ b/src/alloc.c Wed Jan 18 20:52:48 1995 +0000 @@ -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 @@ 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: {
