Basic Win64 support (MSVC)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6439 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
204f371097
commit
d799ee53d7
52 changed files with 380 additions and 247 deletions
|
@ -38,7 +38,7 @@ PLUGINFUNCTIONEND
|
|||
|
||||
PLUGINFUNCTIONSHORT(Copy)
|
||||
{
|
||||
int size = 0;
|
||||
SIZE_T size = 0;
|
||||
HANDLE source, dest;
|
||||
TCHAR *str;
|
||||
// Get the string
|
||||
|
@ -47,10 +47,10 @@ PLUGINFUNCTIONSHORT(Copy)
|
|||
// Check for size option
|
||||
if (str[0] == _T('/'))
|
||||
{
|
||||
size = (SIZE_T) myatoi(str+1);
|
||||
size = (SIZE_T) StrToIntPtr(str+1);
|
||||
dest = (HANDLE) popintptr();
|
||||
}
|
||||
else dest = (HANDLE) myatoi(str);
|
||||
else dest = (HANDLE) StrToIntPtr(str);
|
||||
source = (HANDLE) popintptr();
|
||||
|
||||
// Ok, check the size
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue