#1753070: Enable that makensis and its related utilities can be built natively for 64-bit systems
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6040 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
b402798885
commit
8ab72b9ece
20 changed files with 133 additions and 73 deletions
|
@ -322,7 +322,7 @@ void MMapFile::release(void *pView, int size)
|
|||
if (!pView)
|
||||
return;
|
||||
|
||||
unsigned int alignment = ((unsigned int)pView) % m_iAllocationGranularity;
|
||||
unsigned int alignment = ((ULONG_PTR)pView) % m_iAllocationGranularity;
|
||||
pView = (char *)pView - alignment;
|
||||
size += alignment;
|
||||
#ifdef _WIN32
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue