aboutsummaryrefslogtreecommitdiff
path: root/gdb/stap-probe.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/stap-probe.c')
-rw-r--r--gdb/stap-probe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/stap-probe.c b/gdb/stap-probe.c
index 8f8cea6..691877f 100644
--- a/gdb/stap-probe.c
+++ b/gdb/stap-probe.c
@@ -653,7 +653,7 @@ stap_parse_register_operand (struct stap_parse_info *p)
len = p->arg - start;
- regname = alloca (len + gdb_reg_prefix_len + gdb_reg_suffix_len + 1);
+ regname = (char *) alloca (len + gdb_reg_prefix_len + gdb_reg_suffix_len + 1);
regname[0] = '\0';
/* We only add the GDB's register prefix/suffix if we are dealing with