aboutsummaryrefslogtreecommitdiff
path: root/gdb/alpha-tdep.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>1998-11-25 22:13:53 +0000
committerAndrew Cagney <cagney@redhat.com>1998-11-25 22:13:53 +0000
commitc8623080cb217735f4f7460186e9a1ad910b4a3b (patch)
tree595d432ebb57f79ae1d3f69802ea5236beb77b29 /gdb/alpha-tdep.c
parenta6a5d3492796f75b03b92f86226b2741ee468f0d (diff)
downloadfsf-binutils-gdb-c8623080cb217735f4f7460186e9a1ad910b4a3b.zip
fsf-binutils-gdb-c8623080cb217735f4f7460186e9a1ad910b4a3b.tar.gz
fsf-binutils-gdb-c8623080cb217735f4f7460186e9a1ad910b4a3b.tar.bz2
CARP: --enable-build-warnings=-Werror: Fix problems stopping GDB being
canadian-crossed to host i386-cygwin.
Diffstat (limited to 'gdb/alpha-tdep.c')
-rw-r--r--gdb/alpha-tdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/alpha-tdep.c b/gdb/alpha-tdep.c
index 0296306..d64ab49 100644
--- a/gdb/alpha-tdep.c
+++ b/gdb/alpha-tdep.c
@@ -1008,7 +1008,7 @@ alpha_push_dummy_frame()
*/
/* MASK(i,j) == (1<<i) + (1<<(i+1)) + ... + (1<<j)). Assume i<=j<31. */
-#define MASK(i,j) (((1L << ((j)+1)) - 1) ^ ((1L << (i)) - 1))
+#define MASK(i,j) ((((LONGEST)1 << ((j)+1)) - 1) ^ (((LONGEST)1 << (i)) - 1))
#define GEN_REG_SAVE_MASK (MASK(0,8) | MASK(16,29))
#define GEN_REG_SAVE_COUNT 24
#define FLOAT_REG_SAVE_MASK (MASK(0,1) | MASK(10,30))