diff options
Diffstat (limited to 'gdb/completer.c')
-rw-r--r-- | gdb/completer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/completer.c b/gdb/completer.c index efcb771..58418f6 100644 --- a/gdb/completer.c +++ b/gdb/completer.c @@ -944,7 +944,7 @@ signal_completer (struct cmd_list_element *ignore, { VEC (char_ptr) *return_val = NULL; size_t len = strlen (word); - enum gdb_signal signum; + int signum; const char *signame; for (signum = GDB_SIGNAL_FIRST; signum != GDB_SIGNAL_LAST; ++signum) @@ -953,7 +953,7 @@ signal_completer (struct cmd_list_element *ignore, if (signum == GDB_SIGNAL_0) continue; - signame = gdb_signal_to_name (signum); + signame = gdb_signal_to_name ((enum gdb_signal) signum); /* Ignore the unknown signal case. */ if (!signame || strcmp (signame, "?") == 0) |