summaryrefslogtreecommitdiff
path: root/gdb/target-debug.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/target-debug.h')
-rw-r--r--gdb/target-debug.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/gdb/target-debug.h b/gdb/target-debug.h
index e1ffc5b929d..ddbdfd16597 100644
--- a/gdb/target-debug.h
+++ b/gdb/target-debug.h
@@ -192,7 +192,10 @@ target_debug_print_signals (unsigned char *sigs)
for (i = 0; i < GDB_SIGNAL_LAST; i++)
if (sigs[i])
- fprintf_unfiltered (gdb_stdlog, " %s", gdb_signal_to_name (i));
+ {
+ fprintf_unfiltered (gdb_stdlog, " %s",
+ gdb_signal_to_name ((enum gdb_signal) i));
+ }
}
fputs_unfiltered (" }", gdb_stdlog);
}