diff options
Diffstat (limited to 'gdb/jv-exp.y')
-rw-r--r-- | gdb/jv-exp.y | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/jv-exp.y b/gdb/jv-exp.y index 60b7d2e..8edd94e 100644 --- a/gdb/jv-exp.y +++ b/gdb/jv-exp.y @@ -355,7 +355,7 @@ QualifiedName: { char *buf; - buf = malloc ($$.length + 1); + buf = (char *) malloc ($$.length + 1); make_cleanup (free, buf); sprintf (buf, "%.*s.%.*s", $1.length, $1.ptr, $3.length, $3.ptr); |