Added Int64Fmt

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6931 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
anders_k 2017-10-15 16:57:26 +00:00
parent 1a039ca71f
commit 8de72ec7b1
8 changed files with 30 additions and 17 deletions

View file

@ -507,7 +507,7 @@ HRESULT NSISCALL UTF16LEBOM(HANDLE h, INT_PTR ForWrite)
if (0 == orgpos)
{
BYTE bom[2];
if (myReadFile(h, bom, 2) && (0xfeff == *(UINT16*) &bom[0]))
if (myReadFile(h, bom, 2) && (0xfeff == *(USHORT*) &bom[0]))
{
return S_OK;
}