Eric Pouech : fltlib: Enable compilation with long types.

Alexandre Julliard julliard at winehq.org
Thu Feb 10 16:10:29 CST 2022


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

Author: Eric Pouech <eric.pouech at gmail.com>
Date:   Thu Feb 10 08:42:31 2022 +0100

fltlib: 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/fltlib/Makefile.in | 1 -
 dlls/fltlib/fltlib.c    | 4 ++--
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/dlls/fltlib/Makefile.in b/dlls/fltlib/Makefile.in
index f7281c69c9d..d969421644a 100644
--- a/dlls/fltlib/Makefile.in
+++ b/dlls/fltlib/Makefile.in
@@ -1,4 +1,3 @@
-EXTRADEFS = -DWINE_NO_LONG_TYPES
 MODULE    = fltlib.dll
 
 EXTRADLLFLAGS = -Wb,--prefer-native
diff --git a/dlls/fltlib/fltlib.c b/dlls/fltlib/fltlib.c
index 5af6bbb13c9..a6cf060b3d1 100644
--- a/dlls/fltlib/fltlib.c
+++ b/dlls/fltlib/fltlib.c
@@ -33,7 +33,7 @@ HRESULT WINAPI FilterConnectCommunicationPort(LPCWSTR lpPortName, DWORD dwOption
                                               LPSECURITY_ATTRIBUTES lpSecurityAttributes,
                                               HANDLE *hPort)
 {
-    FIXME("(%s, %d, %p, %d, %p, %p) stub\n", debugstr_w(lpPortName), dwOptions,
+    FIXME("(%s, %ld, %p, %ld, %p, %p) stub\n", debugstr_w(lpPortName), dwOptions,
         lpContext, dwSizeOfContext, lpSecurityAttributes, hPort);
 
     *hPort = INVALID_HANDLE_VALUE;
@@ -46,7 +46,7 @@ HRESULT WINAPI FilterConnectCommunicationPort(LPCWSTR lpPortName, DWORD dwOption
 HRESULT WINAPI FilterFindFirst(DWORD class, LPVOID buffer, DWORD size, LPDWORD bytes_returned,
                                LPHANDLE handle)
 {
-    FIXME("(%u, %p, %u, %p, %p) stub\n", class, buffer, size, bytes_returned, handle);
+    FIXME("(%lu, %p, %lu, %p, %p) stub\n", class, buffer, size, bytes_returned, handle);
     return HRESULT_FROM_WIN32(ERROR_NO_MORE_ITEMS);
 }
 




More information about the wine-cvs mailing list