Fix PR 19494: hang when killing unfollowed fork children
[deliverable/binutils-gdb.git] / gdb / c-lang.c
index 2646b05c2bdfcdc2ae6baf5277ab51595a8f0a53..d8d78fd7111a39bd94786553754fe5ed413ae4ce 100644 (file)
@@ -1,6 +1,6 @@
 /* C language support routines for GDB, the GNU debugger.
 
-   Copyright (C) 1992-2015 Free Software Foundation, Inc.
+   Copyright (C) 1992-2016 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
@@ -701,7 +701,7 @@ evaluate_subexp_c (struct type *expect_type, struct expression *exp,
                        obstack_object_size (&output));
              }
            else
-             result = value_cstring (obstack_base (&output),
+             result = value_cstring ((const char *) obstack_base (&output),
                                      obstack_object_size (&output),
                                      type);
          }
This page took 0.024063 seconds and 4 git commands to generate.