From 4f9a9b8ebae8425eda3a71ccb782789cd3b8f6b7 Mon Sep 17 00:00:00 2001 From: Øyvind Harboe Date: Wed, 29 Dec 2010 22:07:21 +0100 Subject: warnings: use more 'const' for char * MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Øyvind Harboe --- src/helper/command.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/helper/command.c') diff --git a/src/helper/command.c b/src/helper/command.c index fd5e5f94..d5ac34b4 100644 --- a/src/helper/command.c +++ b/src/helper/command.c @@ -310,7 +310,7 @@ static void command_free(struct command *c) } if (c->name) - free(c->name); + free((void *)c->name); if (c->help) free((void*)c->help); if (c->usage) -- cgit v1.2.3