Eric Pouech : amsi: Enable compilation with long types.

Alexandre Julliard julliard at winehq.org
Tue Feb 8 16:11:44 CST 2022


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

Author: Eric Pouech <eric.pouech at gmail.com>
Date:   Mon Feb  7 23:10:39 2022 +0100

amsi: 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/amsi/Makefile.in | 1 -
 dlls/amsi/main.c      | 2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/dlls/amsi/Makefile.in b/dlls/amsi/Makefile.in
index b8be934b68a..213d3e06ce9 100644
--- a/dlls/amsi/Makefile.in
+++ b/dlls/amsi/Makefile.in
@@ -1,4 +1,3 @@
-EXTRADEFS = -DWINE_NO_LONG_TYPES
 MODULE    = amsi.dll
 
 C_SRCS = \
diff --git a/dlls/amsi/main.c b/dlls/amsi/main.c
index f56e699c356..2c1db4c482b 100644
--- a/dlls/amsi/main.c
+++ b/dlls/amsi/main.c
@@ -46,7 +46,7 @@ void WINAPI AmsiCloseSession( HAMSICONTEXT context, HAMSISESSION session )
 HRESULT WINAPI AmsiScanBuffer( HAMSICONTEXT context, void *buffer, ULONG length, const WCHAR *name,
                                HAMSISESSION session, AMSI_RESULT *result )
 {
-    FIXME( "%p, %p, %u, %s, %p, %p\n", context, buffer, length, debugstr_w(name), session, result );
+    FIXME( "%p, %p, %lu, %s, %p, %p\n", context, buffer, length, debugstr_w(name), session, result );
     *result = AMSI_RESULT_NOT_DETECTED;
     return S_OK;
 }




More information about the wine-cvs mailing list