diff options
author | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-02-20 00:01:19 +0000 |
---|---|---|
committer | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-02-20 00:01:19 +0000 |
commit | 2802ec520af5d4ef87d2030789f7df7a2a0da0c6 (patch) | |
tree | 07089de6cc5e980426a2905806f1596183b7b87d /src/xine-engine/configfile.c | |
parent | 828ab12ab770b1258bc89086f3337b497f9268fa (diff) | |
download | xine-lib-2802ec520af5d4ef87d2030789f7df7a2a0da0c6.tar.gz xine-lib-2802ec520af5d4ef87d2030789f7df7a2a0da0c6.tar.bz2 |
Reduce warnings to one, that seems to be caused by GCC counting compatibility wrong.
CVS patchset: 8606
CVS date: 2007/02/20 00:01:19
Diffstat (limited to 'src/xine-engine/configfile.c')
-rw-r--r-- | src/xine-engine/configfile.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/xine-engine/configfile.c b/src/xine-engine/configfile.c index 3a523c936..cdbcae4fb 100644 --- a/src/xine-engine/configfile.c +++ b/src/xine-engine/configfile.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: configfile.c,v 1.83 2007/02/19 23:53:40 dgp85 Exp $ + * $Id: configfile.c,v 1.84 2007/02/20 00:01:19 dgp85 Exp $ * * config object (was: file) management - implementation * @@ -689,9 +689,9 @@ static int config_register_range (config_values_t *this, return entry->num_value; } -static int config_parse_enum (const char *str, char **values) { +static int config_parse_enum (const char *str, const char **values) { - char **value; + const char **value; int i; @@ -725,7 +725,8 @@ static int config_register_enum (config_values_t *this, void *cb_data) { cfg_entry_t *entry; - char **value_src, **value_dest; + const char **value_src; + char **value_dest; int value_count; |