[PATCH 21/21] dlls/wnaspi32: enable compilation with long types

Eric Pouech eric.pouech at gmail.com
Tue Feb 22 02:43:58 CST 2022


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

---
 dlls/wnaspi32/Makefile.in |    1 -
 dlls/wnaspi32/aspi.c      |    2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/dlls/wnaspi32/Makefile.in b/dlls/wnaspi32/Makefile.in
index 6122ee8d8f6..5c3fa66e9d0 100644
--- a/dlls/wnaspi32/Makefile.in
+++ b/dlls/wnaspi32/Makefile.in
@@ -1,4 +1,3 @@
-EXTRADEFS = -DWINE_NO_LONG_TYPES
 MODULE    = wnaspi32.dll
 IMPORTLIB = wnaspi32
 IMPORTS   = advapi32
diff --git a/dlls/wnaspi32/aspi.c b/dlls/wnaspi32/aspi.c
index 903c618f9ba..ae2d24489f6 100644
--- a/dlls/wnaspi32/aspi.c
+++ b/dlls/wnaspi32/aspi.c
@@ -74,7 +74,7 @@ int ASPI_GetNumControllers(void)
     }
 
     RegCloseKey(hkeyScsi);
-    TRACE("Returning %d host adapters\n", num_ha );
+    TRACE("Returning %ld host adapters\n", num_ha );
     return num_ha;
 }
 




More information about the wine-devel mailing list