summaryrefslogtreecommitdiff
path: root/gcc/plugin.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/plugin.c')
-rw-r--r--gcc/plugin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/plugin.c b/gcc/plugin.c
index 414d5783fa5..18b7c8aecad 100644
--- a/gcc/plugin.c
+++ b/gcc/plugin.c
@@ -408,7 +408,7 @@ try_init_one_plugin (struct plugin_name_args *plugin)
{
void *dl_handle;
plugin_init_func plugin_init;
- char *err;
+ const char *err;
PTR_UNION_TYPE (plugin_init_func) plugin_init_union;
/* We use RTLD_NOW to accelerate binding and detect any mismatch