[PATCH 13/27] dlls/fltlib: enable compilation with long types

Eric Pouech eric.pouech at gmail.com
Thu Feb 10 01:42:31 CST 2022


Signed-off-by: Eric Pouech <eric.pouech at gmail.com>

---
 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-devel mailing list