diff options
Diffstat (limited to 'gdb/gdbserver/thread-db.c')
-rw-r--r-- | gdb/gdbserver/thread-db.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/gdbserver/thread-db.c b/gdb/gdbserver/thread-db.c index f5fdf10ef3f..ffe722dcdd4 100644 --- a/gdb/gdbserver/thread-db.c +++ b/gdb/gdbserver/thread-db.c @@ -874,7 +874,7 @@ thread_db_init (int use_events) static int any_thread_of (struct inferior_list_entry *entry, void *args) { - int *pid_p = args; + int *pid_p = (int *) args; if (ptid_get_pid (entry->id) == *pid_p) return 1; |