[testsuite] Fix tiemout fail in gdb.fortran/vla-value.exp
[deliverable/binutils-gdb.git] / gdb / jv-exp.y
index 60b7d2e4e0aa830290e95ad8e4d16b958c150050..951ef4929e8204ef4204af3fc1433aefaf73e65b 100644 (file)
@@ -1,5 +1,5 @@
 /* YACC parser for Java expressions, for GDB.
-   Copyright (C) 1997-2015 Free Software Foundation, Inc.
+   Copyright (C) 1997-2016 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
@@ -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);
This page took 0.025528 seconds and 4 git commands to generate.