Eliminate some more warnings

This commit is contained in:
Berke Viktor
2012-10-30 21:25:58 +01:00
parent 284dbfbe3d
commit cb0f6c8c91
11 changed files with 12 additions and 12 deletions

View File

@@ -166,7 +166,7 @@ list_delentry (GSList ** list, char *name)
}
char *
cfg_get_str (char *cfg, char *var, char *dest, int dest_len)
cfg_get_str (char *cfg, const char *var, char *dest, int dest_len)
{
char buffer[128]; /* should be plenty for a variable name */