Update to gengetopt 2.22.2.
authorAndre Noll <maan@systemlinux.org>
Sun, 21 Jun 2009 10:12:28 +0000 (12:12 +0200)
committerAndre Noll <maan@systemlinux.org>
Sun, 21 Jun 2009 10:12:28 +0000 (12:12 +0200)
This introduced a new gcc warning which is fixed by this patch.

NEWS
grab_client.c

diff --git a/NEWS b/NEWS
index 4d775ec..9e9a7d9 100644 (file)
--- 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"
index e419a72..f3a0f48 100644 (file)
@@ -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++)