Fix some MinGW warnings
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6293 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
0d2edb2f1b
commit
4f8bf3c466
6 changed files with 12 additions and 11 deletions
|
@ -467,7 +467,7 @@ int CEXEBuild::add_string(const TCHAR *string, int process/*=1*/, UINT codepage/
|
|||
if (!string || !*string) return 0;
|
||||
build_lockedunicodetarget = true;
|
||||
init_shellconstantvalues();
|
||||
if (-2 == codepage)
|
||||
if ((unsigned)-2 == codepage)
|
||||
{
|
||||
assert(curlinereader);
|
||||
codepage = curlinereader->StreamEncoding().GetCodepage();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue