Linux native thread create/exit events support
[deliverable/binutils-gdb.git] / gdb / cp-valprint.c
index 0c32f04286abc8134cba77a3a1124dbaf63873df..effce30cf85d96c1eae0dc2b33dcb9231eedaad6 100644 (file)
@@ -1,6 +1,6 @@
 /* Support for printing C++ values for GDB, the GNU debugger.
 
-   Copyright (C) 1986-2015 Free Software Foundation, Inc.
+   Copyright (C) 1986-2016 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
@@ -535,7 +535,7 @@ cp_print_value (struct type *type, struct type *real_type,
                  gdb_byte *buf;
                  struct cleanup *back_to;
 
-                 buf = xmalloc (TYPE_LENGTH (baseclass));
+                 buf = (gdb_byte *) xmalloc (TYPE_LENGTH (baseclass));
                  back_to = make_cleanup (xfree, buf);
 
                  if (target_read_memory (address + boffset, buf,
This page took 0.024142 seconds and 4 git commands to generate.