From 1dc7a6235090327d7b5586f85e6115c3cd13ed83 Mon Sep 17 00:00:00 2001 From: Simon Marchi Date: Wed, 26 Aug 2015 17:31:47 -0400 Subject: Fix gdbarch.c build error I made a mistake while handling my previous patch. A change in gdbarch causes a build failure. gdb/ChangeLog: * gdbarch.sh (append_name): Fix type in XRESIZEVEC. * gdbarch.c: Re-generate. --- gdb/gdbarch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/gdbarch.c') diff --git a/gdb/gdbarch.c b/gdb/gdbarch.c index 94e457a..0d4142b 100644 --- a/gdb/gdbarch.c +++ b/gdb/gdbarch.c @@ -4894,7 +4894,7 @@ static struct gdbarch_registration *gdbarch_registry = NULL; static void append_name (const char ***buf, int *nr, const char *name) { - *buf = XRESIZEVEC (const char **, *buf, *nr + 1); + *buf = XRESIZEVEC (const char *, *buf, *nr + 1); (*buf)[*nr] = name; *nr += 1; } -- cgit v1.1