]> git.tuebingen.mpg.de Git - paraslash.git/commitdiff
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 4d775ecf078d12f723300278a25aedcdd73ad988..9e9a7d99fbc8f3cafcedc33fef54fde63387816d 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 e419a723b9b856ddbc595c6130951c86d4e3155a..f3a0f48486e14ac478413e78efcfd41ee38e87dc 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++)