diff options
Diffstat (limited to 'gdb/aarch64-linux-tdep.c')
-rw-r--r-- | gdb/aarch64-linux-tdep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/aarch64-linux-tdep.c b/gdb/aarch64-linux-tdep.c index 07ee1ea..aaf6608 100644 --- a/gdb/aarch64-linux-tdep.c +++ b/gdb/aarch64-linux-tdep.c @@ -279,7 +279,7 @@ aarch64_stap_parse_special_token (struct gdbarch *gdbarch, return 0; len = tmp - start; - regname = alloca (len + 2); + regname = (char *) alloca (len + 2); strncpy (regname, start, len); regname[len] = '\0'; |