chiark / gitweb /
Constify ConfigTableItem tables
[elogind.git] / src / tty-ask-password-agent / tty-ask-password-agent.c
index 55a2215d0a2517253a86265e62f50e551f92fa4a..0398a9d814ecae58d961f1cdc851ec4a8fe64b94 100644 (file)
@@ -272,7 +272,7 @@ static int parse_password(const char *filename, char **wall) {
                 return -errno;
         }
 
-        r = config_parse(NULL, filename, f, NULL, config_item_table_lookup, (void*) items, true, false, NULL);
+        r = config_parse(NULL, filename, f, NULL, config_item_table_lookup, items, true, false, NULL);
         if (r < 0) {
                 log_error("Failed to parse password file %s: %s", filename, strerror(-r));
                 goto finish;