From 7f04b01bf9ed3209fdc0b01f5d85ffd322fb4440 Mon Sep 17 00:00:00 2001 From: Keith Seitz Date: Thu, 13 Apr 2017 18:49:34 -0700 Subject: [PATCH] Fix typo. --- gdb/compile/compile-c-support.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdb/compile/compile-c-support.c b/gdb/compile/compile-c-support.c index 41f7aecc64f..a29410506ca 100644 --- a/gdb/compile/compile-c-support.c +++ b/gdb/compile/compile-c-support.c @@ -80,7 +80,7 @@ load_libcompile (const char *fe_libcc, const char *fe_context) /* gdb_dlopen will call error () on an error, so no need to check value. */ gdb_dlhandle_up handle = gdb_dlopen (fe_libcc); - func = (FUNCTYPE *) (gdb_dlsym (handle, fe_context)); + func = (FUNCTYPE *) gdb_dlsym (handle, fe_context); if (func == NULL) error (_("could not find symbol %s in library %s"), fe_context, fe_libcc); -- 2.47.2