diff options
author | Berke Viktor <bviktor@hexchat.org> | 2012-10-30 21:25:58 +0100 |
---|---|---|
committer | Berke Viktor <bviktor@hexchat.org> | 2012-10-30 21:25:58 +0100 |
commit | cb0f6c8c91b564e541688b3f0f57d8456295dc1f (patch) | |
tree | 0ac1427e1d3a18ae152bd1d34f424c6db7759479 /src/common/cfgfiles.h | |
parent | 284dbfbe3dc37e94b57e110b6ea23f847b9f6035 (diff) |
Eliminate some more warnings
Diffstat (limited to 'src/common/cfgfiles.h')
-rw-r--r-- | src/common/cfgfiles.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/cfgfiles.h b/src/common/cfgfiles.h index d0062304..d32dbb67 100644 --- a/src/common/cfgfiles.h +++ b/src/common/cfgfiles.h @@ -8,7 +8,7 @@ extern char *xdir_fs; extern char *xdir_utf; -char *cfg_get_str (char *cfg, char *var, char *dest, int dest_len); +char *cfg_get_str (char *cfg, const char *var, char *dest, int dest_len); int cfg_get_bool (char *var); int cfg_get_int_with_result (char *cfg, char *var, int *result); int cfg_get_int (char *cfg, char *var); |