projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add casts to memory allocation related calls
[deliverable/binutils-gdb.git]
/
gdb
/
go-lang.c
diff --git
a/gdb/go-lang.c
b/gdb/go-lang.c
index b72c85758c6ab0b08b2663c4dfa7535836b1f00c..509704c8c1a3cecf4ac128d2ec63505316d29363 100644
(file)
--- a/
gdb/go-lang.c
+++ b/
gdb/go-lang.c
@@
-379,7
+379,7
@@
go_demangle (const char *mangled_name, int options)
}
obstack_grow_str0 (&tempbuf, "");
- result = xstrdup (obstack_finish (&tempbuf));
+ result = xstrdup (
(const char *)
obstack_finish (&tempbuf));
obstack_free (&tempbuf, NULL);
xfree (name_buf);
return result;
This page took
0.03579 seconds
and
4
git commands to generate.