aboutsummaryrefslogtreecommitdiff
path: root/gdb/scm-lang.c
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
parent51d57b0aa645837382c51d0053b0c75ef30c63a2 (diff)
downloadgdb-4770ff087a88ed81794edb49d9558acbdd0a22a5.zip
gdb-4770ff087a88ed81794edb49d9558acbdd0a22a5.tar.gz
gdb-4770ff087a88ed81794edb49d9558acbdd0a22a5.tar.bz2
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 82b6a1c..7f31ba4 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: