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 61e5fb2b6..b26be9135 100644
--- a/src/Main.cxx
+++ b/src/Main.cxx
@@ -214,7 +214,7 @@ glue_db_init_and_load(void)
SimpleDatabase &db = *(SimpleDatabase *)instance->database;
instance->update = new UpdateService(*instance->event_loop, db,
- *instance->storage,
+ static_cast<CompositeStorage &>(*instance->storage),
*instance);
/* run database update after daemonization? */