From f8c53e37dd8a2c0db986767b572ea7cf233fd941 Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Sun, 21 Jun 2009 12:12:28 +0200 Subject: [PATCH 1/1] Update to gengetopt 2.22.2. This introduced a new gcc warning which is fixed by this patch. --- NEWS | 1 + grab_client.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index 4d775ecf..9e9a7d99 100644 --- a/NEWS +++ b/NEWS @@ -11,6 +11,7 @@ NEWS - variable fec output buffer size - --log_color actually works - new ls option: -d (print dates as seconds after the epoch) + - update to gengetopt 2.22.2 ----------------------------------------- 0.3.4 (2009-05-07) "elliptic inheritance" diff --git a/grab_client.c b/grab_client.c index e419a723..f3a0f484 100644 --- a/grab_client.c +++ b/grab_client.c @@ -83,7 +83,7 @@ static int check_gc_args(struct grab_client *gc) { int i; struct grab_client_args_info *c = gc->conf; - char **mv = grab_client_cmdline_parser_mode_values; + const char **mv = grab_client_cmdline_parser_mode_values; PARA_INFO_LOG("filter_num: %d\n", c->filter_num_arg); for (i = 0; mv[i]; i++) -- 2.39.2