chiark / gitweb /
Constify ConfigTableItem tables
[elogind.git] / src / core / main.c
index a21a959be974e3e9b78e5711293bb1fed78c025d..d1fb265df1371a159bb8ed914ed5c56b715371cc 100644 (file)
@@ -696,7 +696,7 @@ static int parse_config_file(void) {
                 return 0;
         }
 
-        r = config_parse(NULL, fn, f, "Manager\0", config_item_table_lookup, (void*) items, false, false, NULL);
+        r = config_parse(NULL, fn, f, "Manager\0", config_item_table_lookup, items, false, false, NULL);
         if (r < 0)
                 log_warning("Failed to parse configuration file: %s", strerror(-r));