Fix exehead unicode compil warnings
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6048 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
64a0f32e52
commit
f5df185ba2
4 changed files with 56 additions and 17 deletions
|
@ -716,8 +716,8 @@ skipPage:
|
|||
static DWORD dwRead;
|
||||
DWORD CALLBACK StreamLicense(DWORD dwCookie, LPBYTE pbBuff, LONG cb, LONG *pcb)
|
||||
{
|
||||
lstrcpyn(pbBuff,(TCHAR*)dwCookie+dwRead,cb);
|
||||
*pcb=mystrlen(pbBuff);
|
||||
lstrcpynA(pbBuff,(char*)dwCookie+dwRead,cb);
|
||||
*pcb=lstrlenA(pbBuff);
|
||||
dwRead+=*pcb;
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue