aboutsummaryrefslogtreecommitdiff
path: root/src/commands.c
diff options
context:
space:
mode:
authorHarry Jeffery <harry@exec64.co.uk>2017-08-06 20:07:52 +0100
committerGitHub <noreply@github.com>2017-08-06 20:07:52 +0100
commitcf0baaa9778b842c4d2ed3c2f560906bce800eb9 (patch)
treeb77ed38096f3b8abf8ea08493681ea7d44b4fcc6 /src/commands.c
parent2ffd6edea17c1ec8fdb33d1135e27db0eb080625 (diff)
parent92eb3a9b9a284a188c03a1af9a12cf1edec9e845 (diff)
downloadimv-cf0baaa9778b842c4d2ed3c2f560906bce800eb9.tar.gz
Merge pull request #113 from eXeC64/fix-ci-failure
Fix failing build on gcc 4.8.4
Diffstat (limited to 'src/commands.c')
-rw-r--r--src/commands.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands.c b/src/commands.c
index 0f31bfc..83ca4bc 100644
--- a/src/commands.c
+++ b/src/commands.c
@@ -45,7 +45,7 @@ void imv_commands_free(struct imv_commands *cmds)
free(cmds);
}
-void imv_command_register(struct imv_commands *cmds, const char *command, void (*handler)())
+void imv_command_register(struct imv_commands *cmds, const char *command, void (*handler)(struct imv_list*, void*))
{
struct command *cmd = malloc(sizeof(struct command));
cmd->command = strdup(command);