fixed compile error on POSIX

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3665 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
kichik 2004-09-24 14:32:58 +00:00
parent 6c5208649f
commit 15e6286454
2 changed files with 2 additions and 2 deletions

View file

@ -368,7 +368,7 @@ typedef WORD LANGID;
# define VS_VERSION_INFO 1
#endif
#ifndef VS_FFI_SIGNATURE
# define VS_FFI_SIGNATURE 0xFEEFO4BD
# define VS_FFI_SIGNATURE 0xFEEF04BD
#endif
// message box

View file

@ -4421,7 +4421,7 @@ int CEXEBuild::doCommand(int which_token, LineParser &line)
if (ver)
{
if (versize > sizeof(WORD) * 3)
if ((size_t) versize > sizeof(WORD) * 3)
{
// get VS_FIXEDFILEINFO from VS_VERSIONINFO
WCHAR *szKey = (WCHAR *)(ver + sizeof(WORD) * 3);