Eric Pouech : msisip: Enable compilation with long types.

Alexandre Julliard julliard at winehq.org
Tue Feb 15 16:07:17 CST 2022


Module: wine
Branch: master
Commit: 0c34b472128821c71df35a9bba4fb6d4505baded
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=0c34b472128821c71df35a9bba4fb6d4505baded

Author: Eric Pouech <eric.pouech at gmail.com>
Date:   Tue Feb 15 07:30:00 2022 +0100

msisip: Enable compilation with long types.

Signed-off-by: Eric Pouech <eric.pouech at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/msisip/Makefile.in | 1 -
 dlls/msisip/main.c      | 4 ++--
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/dlls/msisip/Makefile.in b/dlls/msisip/Makefile.in
index c36535ca8aa..3bad02a186a 100644
--- a/dlls/msisip/Makefile.in
+++ b/dlls/msisip/Makefile.in
@@ -1,4 +1,3 @@
-EXTRADEFS = -DWINE_NO_LONG_TYPES
 MODULE    = msisip.dll
 IMPORTS   = crypt32 ole32
 
diff --git a/dlls/msisip/main.c b/dlls/msisip/main.c
index 6324542428a..c5dde262dc2 100644
--- a/dlls/msisip/main.c
+++ b/dlls/msisip/main.c
@@ -83,7 +83,7 @@ BOOL WINAPI MsiSIPGetSignedDataMsg(SIP_SUBJECTINFO *pSubjectInfo,
     BYTE hdr[2], len[sizeof(DWORD)];
     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);
 
     r = StgOpenStorage(pSubjectInfo->pwsFileName, NULL,
@@ -127,7 +127,7 @@ BOOL WINAPI MsiSIPGetSignedDataMsg(SIP_SUBJECTINFO *pSubjectInfo,
         lenBytes = hdr[1] & 0x7f;
         if (lenBytes > sizeof(DWORD))
         {
-            WARN("asn.1 length too long (%d)\n", lenBytes);
+            WARN("asn.1 length too long (%ld)\n", lenBytes);
             goto freestream;
         }
         r = IStream_Read(stm, len, lenBytes, &count);




More information about the wine-cvs mailing list