X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Ftty-ask-password-agent%2Ftty-ask-password-agent.c;fp=src%2Ftty-ask-password-agent%2Ftty-ask-password-agent.c;h=0398a9d814ecae58d961f1cdc851ec4a8fe64b94;hb=e9f3d2d508bfd9fb5b54e82994bda365a71eb864;hp=55a2215d0a2517253a86265e62f50e551f92fa4a;hpb=8201af08fa09c2bd0f005fbe262f27e2c5bd2d86;p=elogind.git diff --git a/src/tty-ask-password-agent/tty-ask-password-agent.c b/src/tty-ask-password-agent/tty-ask-password-agent.c index 55a2215d0..0398a9d81 100644 --- a/src/tty-ask-password-agent/tty-ask-password-agent.c +++ b/src/tty-ask-password-agent/tty-ask-password-agent.c @@ -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;