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 07ee1eade8d..aaf66088a78 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'; |