diff options
author | rms <rms@138bc75d-0d04-0410-961f-82ee72b054a4> | 1993-03-09 00:10:48 +0000 |
---|---|---|
committer | rms <rms@138bc75d-0d04-0410-961f-82ee72b054a4> | 1993-03-09 00:10:48 +0000 |
commit | c41bf97886ff4288db0ebdf33bcb84d45862b3cb (patch) | |
tree | 2848a9842ae1ea52d065a0fbf5d683f68f8cdaa7 /gcc/sdbout.c | |
parent | 0f7111f5788d761863a8033153a43b07bdd919f4 (diff) | |
download | gcc-c41bf97886ff4288db0ebdf33bcb84d45862b3cb.tar.gz |
(PUSH_DERIVED_LEVEL): Cast enumm constants to int.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@3681 138bc75d-0d04-0410-961f-82ee72b054a4
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 a738ba40a29..26226021bdb 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; |