* gdbtypes.c (force_to_range_type): Use switch statement.
authorJim Kingdon <jkingdon@engr.sgi.com>
Sun, 26 Dec 1993 22:37:47 +0000 (22:37 +0000)
committerJim Kingdon <jkingdon@engr.sgi.com>
Sun, 26 Dec 1993 22:37:47 +0000 (22:37 +0000)
commit54613301478dbe930e8d834e8423f68a44622989
tree4f4fb851dde83d64b4621e3c2a324fde4838bba6
parent45db9cafcf0751639969e67a2bb7061aa3630347
* gdbtypes.c (force_to_range_type): Use switch statement.
complain() not warning() if the TYPE_CODE isn't one we know how to
deal with gracefully.  Use builtin_type_int not
lookup_fundamental_type (the objfile we passed to
lookup_fundamental_type was sometimes NULL).
gdb/ChangeLog
gdb/gdbtypes.c