diff options
| author | Karl Heuer | 1995-01-18 20:52:48 +0000 |
|---|---|---|
| committer | Karl Heuer | 1995-01-18 20:52:48 +0000 |
| commit | 0220c51857539b3bf812c3c0948efaa3429c3852 (patch) | |
| tree | 98f18803cb65ab459c3e4e87b367b4a42da74489 /src/alloc.c | |
| parent | c1d4ff308d5e9d24b4c3cc95b5fa9b3ad4af42a8 (diff) | |
| download | emacs-0220c51857539b3bf812c3c0948efaa3429c3852.tar.gz emacs-0220c51857539b3bf812c3c0948efaa3429c3852.zip | |
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 @@ | |||
| 1 | /* Storage allocation and gc for GNU Emacs Lisp interpreter. | 1 | /* Storage allocation and gc for GNU Emacs Lisp interpreter. |
| 2 | Copyright (C) 1985, 1986, 1988, 1993, 1994 Free Software Foundation, Inc. | 2 | Copyright (C) 1985, 86, 88, 93, 94, 95 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 5 | 5 | ||
| @@ -1502,11 +1502,7 @@ mark_object (objptr) | |||
| 1502 | if (last_marked_index == LAST_MARKED_SIZE) | 1502 | if (last_marked_index == LAST_MARKED_SIZE) |
| 1503 | last_marked_index = 0; | 1503 | last_marked_index = 0; |
| 1504 | 1504 | ||
| 1505 | #ifdef SWITCH_ENUM_BUG | 1505 | switch (SWITCH_ENUM_CAST (XGCTYPE (obj))) |
| 1506 | switch ((int) XGCTYPE (obj)) | ||
| 1507 | #else | ||
| 1508 | switch (XGCTYPE (obj)) | ||
| 1509 | #endif | ||
| 1510 | { | 1506 | { |
| 1511 | case Lisp_String: | 1507 | case Lisp_String: |
| 1512 | { | 1508 | { |