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:
parent
f56537a20b
commit
a203e2e981
10 changed files with 41 additions and 41 deletions
|
@ -113,7 +113,7 @@ int LineParser::gettoken_int(int token, int *success/*=0*/)
|
|||
char* LineParser::gettoken_str(int token)
|
||||
{
|
||||
token+=m_eat;
|
||||
if (token < 0 || token >= m_nt) return "";
|
||||
if (token < 0 || token >= m_nt) return (char*)"";
|
||||
return m_tokens[token];
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue