Eric Pouech : clusapi: Enable compilation with long types.

Alexandre Julliard julliard at winehq.org
Wed Feb 9 16:03:48 CST 2022


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

Author: Eric Pouech <eric.pouech at gmail.com>
Date:   Wed Feb  9 09:25:20 2022 +0100

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

diff --git a/dlls/clusapi/Makefile.in b/dlls/clusapi/Makefile.in
index 9514378e663..01451a1d743 100644
--- a/dlls/clusapi/Makefile.in
+++ b/dlls/clusapi/Makefile.in
@@ -1,4 +1,3 @@
-EXTRADEFS = -DWINE_NO_LONG_TYPES
 MODULE    = clusapi.dll
 IMPORTLIB = clusapi
 
diff --git a/dlls/clusapi/clusapi.c b/dlls/clusapi/clusapi.c
index b1dde6f0290..28c5f63d4ca 100644
--- a/dlls/clusapi/clusapi.c
+++ b/dlls/clusapi/clusapi.c
@@ -89,7 +89,7 @@ BOOL WINAPI CloseCluster(HCLUSTER hCluster)
  */
 HCLUSENUM WINAPI ClusterOpenEnum(HCLUSTER hCluster, DWORD dwType)
 {
-    FIXME("(%p, %u) stub!\n", hCluster,dwType);
+    FIXME("(%p, %lu) stub!\n", hCluster,dwType);
 
     return (HCLUSENUM)0xdeadbeef;
 }
@@ -111,7 +111,7 @@ DWORD WINAPI ClusterCloseEnum(HCLUSENUM hEnum)
  */
 DWORD WINAPI ClusterEnum(HCLUSENUM hEnum, DWORD dwIndex, LPDWORD lpdwType, LPWSTR lpszName, LPDWORD lpcchName)
 {
-    FIXME("(%p, %u, %p, %p, %u) stub!\n", hEnum, dwIndex, lpdwType, lpszName, *lpcchName);
+    FIXME("(%p, %lu, %p, %p, %lu) stub!\n", hEnum, dwIndex, lpdwType, lpszName, *lpcchName);
 
     return ERROR_NO_MORE_ITEMS;
 }




More information about the wine-cvs mailing list