More VC7 compatibility fixes
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1893 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
74d0c01f35
commit
56d17cbbd8
4 changed files with 5 additions and 5 deletions
|
@ -224,7 +224,7 @@ int CEXEBuild::SetUserString(char *name, LANGID lang, char *string, int process/
|
|||
}
|
||||
|
||||
#define MAX(a, b) (a > b ? a : b)
|
||||
user_strings->resize(MAX(user_strings->getlen(), (unsigned int)(idx+1)*sizeof(unsigned int)));
|
||||
user_strings->resize(MAX((unsigned int)user_strings->getlen(), (idx+1)*sizeof(unsigned int)));
|
||||
((int*)user_strings->get())[idx] = uninst ? add_string_uninst(string,process) : add_string_main(string,process);
|
||||
|
||||
int zero = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue