diff options
author | Richard Stallman <rms@gnu.org> | 1993-03-09 00:10:48 +0000 |
---|---|---|
committer | Richard Stallman <rms@gnu.org> | 1993-03-09 00:10:48 +0000 |
commit | aa7a59132b46c4a31276a9ebe4e20b1cc058727c (patch) | |
tree | 2848a9842ae1ea52d065a0fbf5d683f68f8cdaa7 /gcc/sdbout.c | |
parent | 96b0e48171bd78e46cef4bd5d6caf4385e603f66 (diff) | |
download | gcc-aa7a59132b46c4a31276a9ebe4e20b1cc058727c.zip gcc-aa7a59132b46c4a31276a9ebe4e20b1cc058727c.tar.gz gcc-aa7a59132b46c4a31276a9ebe4e20b1cc058727c.tar.bz2 |
(PUSH_DERIVED_LEVEL): Cast enumm constants to int.
From-SVN: r3681
Diffstat (limited to 'gcc/sdbout.c')
-rw-r--r-- | gcc/sdbout.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gcc/sdbout.c b/gcc/sdbout.c index a738ba4..2622602 100644 --- a/gcc/sdbout.c +++ b/gcc/sdbout.c @@ -344,8 +344,10 @@ gen_fake_label () /* Produce the number that describes a pointer, function or array type. PREV is the number describing the target, value or element type. DT_type describes how to transform that type. */ -#define PUSH_DERIVED_LEVEL(DT_type,PREV) \ - ((((PREV)&~N_BTMASK)<<N_TSHIFT)|(DT_type<<N_BTSHFT)|(PREV&N_BTMASK)) +#define PUSH_DERIVED_LEVEL(DT_type,PREV) \ + ((((PREV) & ~(int)N_BTMASK) << (int)N_TSHIFT) \ + | ((int)DT_type << (int)N_BTSHFT) \ + | ((PREV) & (int)N_BTMASK)) /* Number of elements used in sdb_dims. */ static int sdb_n_dims = 0; |