aboutsummaryrefslogtreecommitdiffstats
path: root/src/Main.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/Main.cxx')
-rw-r--r--src/Main.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Main.cxx b/src/Main.cxx
index 1cde2a908..c0824fc55 100644
--- a/src/Main.cxx
+++ b/src/Main.cxx
@@ -193,7 +193,7 @@ glue_db_init_and_load(void)
param = allocated;
}
- if (!DatabaseGlobalInit(param, &error))
+ if (!DatabaseGlobalInit(*param, &error))
MPD_ERROR("%s", error->message);
delete allocated;