Commit 0c34b472 authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

msisip: Enable compilation with long types.

parent 095fc3de
EXTRADEFS = -DWINE_NO_LONG_TYPES
MODULE = msisip.dll MODULE = msisip.dll
IMPORTS = crypt32 ole32 IMPORTS = crypt32 ole32
......
...@@ -83,7 +83,7 @@ BOOL WINAPI MsiSIPGetSignedDataMsg(SIP_SUBJECTINFO *pSubjectInfo, ...@@ -83,7 +83,7 @@ BOOL WINAPI MsiSIPGetSignedDataMsg(SIP_SUBJECTINFO *pSubjectInfo,
BYTE hdr[2], len[sizeof(DWORD)]; BYTE hdr[2], len[sizeof(DWORD)];
DWORD count, lenBytes, dataBytes; DWORD count, lenBytes, dataBytes;
TRACE("(%p %p %d %p %p)\n", pSubjectInfo, pdwEncodingType, dwIndex, TRACE("(%p %p %ld %p %p)\n", pSubjectInfo, pdwEncodingType, dwIndex,
pcbSignedDataMsg, pbSignedDataMsg); pcbSignedDataMsg, pbSignedDataMsg);
r = StgOpenStorage(pSubjectInfo->pwsFileName, NULL, r = StgOpenStorage(pSubjectInfo->pwsFileName, NULL,
...@@ -127,7 +127,7 @@ BOOL WINAPI MsiSIPGetSignedDataMsg(SIP_SUBJECTINFO *pSubjectInfo, ...@@ -127,7 +127,7 @@ BOOL WINAPI MsiSIPGetSignedDataMsg(SIP_SUBJECTINFO *pSubjectInfo,
lenBytes = hdr[1] & 0x7f; lenBytes = hdr[1] & 0x7f;
if (lenBytes > sizeof(DWORD)) if (lenBytes > sizeof(DWORD))
{ {
WARN("asn.1 length too long (%d)\n", lenBytes); WARN("asn.1 length too long (%ld)\n", lenBytes);
goto freestream; goto freestream;
} }
r = IStream_Read(stm, len, lenBytes, &count); r = IStream_Read(stm, len, lenBytes, &count);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment