aboutsummaryrefslogtreecommitdiff
path: root/gdb/windows-tdep.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/windows-tdep.c')
-rw-r--r--gdb/windows-tdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/windows-tdep.c b/gdb/windows-tdep.c
index aa0adeb..0dee73a 100644
--- a/gdb/windows-tdep.c
+++ b/gdb/windows-tdep.c
@@ -754,7 +754,7 @@ create_enum (struct gdbarch *gdbarch, int bit, const char *name,
type->set_num_fields (count);
type->set_fields
((struct field *) TYPE_ZALLOC (type, sizeof (struct field) * count));
- TYPE_UNSIGNED (type) = 1;
+ type->set_is_unsigned (true);
for (i = 0; i < count; i++)
{