Start of HP merge changes to GDB.
[binutils-gdb.git] / gdb / scm-lang.c
index 82b6a1c8fd388bab81b9cca79e8771d83569841b..7f31ba434833276118e3a115b93790379a1489b4 100644 (file)
@@ -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: