GlobalAlloc should get GPTR not LPTR
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5853 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
4ed3f49268
commit
35eea140f5
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ BOOL NSISCALL RegisterPluginCallback(HMODULE pluginHandle, NSISPLUGINCALLBACK pr
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
p = (loaded_plugin*) GlobalAlloc(LPTR, sizeof(loaded_plugin));
|
p = (loaded_plugin*) GlobalAlloc(GPTR, sizeof(loaded_plugin));
|
||||||
if (p)
|
if (p)
|
||||||
{
|
{
|
||||||
p->proc = proc;
|
p->proc = proc;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue