aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Taylor <taylor@redhat.com>1998-12-10 21:25:43 +0000
committerDavid Taylor <taylor@redhat.com>1998-12-10 21:25:43 +0000
commit4770ff087a88ed81794edb49d9558acbdd0a22a5 (patch)
tree3474d41502fb5afd58f43f6146b371f691ca1de3 /gdb/scm-lang.c
parent * gas/mips/vu0.[sd]: Update vmtir testcases. (diff)
downloadbinutils-gdb-4770ff087a88ed81794edb49d9558acbdd0a22a5.tar.gz
binutils-gdb-4770ff087a88ed81794edb49d9558acbdd0a22a5.tar.bz2
binutils-gdb-4770ff087a88ed81794edb49d9558acbdd0a22a5.zip
Start of HP merge changes to GDB.
Diffstat (limited to 'gdb/scm-lang.c')
-rw-r--r--gdb/scm-lang.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/scm-lang.c b/gdb/scm-lang.c
index 82b6a1c8fd3..7f31ba43483 100644
--- a/gdb/scm-lang.c
+++ b/gdb/scm-lang.c
@@ -105,7 +105,7 @@ scm_unpack (type, valaddr, context)
else
return 1;
}
- switch (7 & svalue)
+ switch (7 & (int) svalue)
{
case 2: case 6: /* fixnum */
return svalue >> 2;
@@ -114,7 +114,7 @@ scm_unpack (type, valaddr, context)
return SCM_ICHR (svalue);
else if (SCM_IFLAGP (svalue))
{
- switch (svalue)
+ switch ((int) svalue)
{
#ifndef SICP
case SCM_EOL: