got rid of a zillion warnings on gcc

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5958 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
kichik 2009-03-28 10:20:04 +00:00
parent f56537a20b
commit a203e2e981
10 changed files with 41 additions and 41 deletions

View file

@ -50,7 +50,7 @@ class UserVarsStringList : public SortedStringListND<struct uservarstring>
return temp;
}
int get(char *name, int n_chars = -1)
int get(const char *name, int n_chars = -1)
{
int v=SortedStringListND<struct uservarstring>::find(name, n_chars);
if (v==-1) return -1;