Eric Pouech : wlanapi: Enable compilation with long types.
Alexandre Julliard
julliard at winehq.org
Tue Feb 22 16:06:50 CST 2022
Module: wine
Branch: master
Commit: b507da66ba4ebcb050f6c5118c5137ece91e455b
URL: https://source.winehq.org/git/wine.git/?a=commit;h=b507da66ba4ebcb050f6c5118c5137ece91e455b
Author: Eric Pouech <eric.pouech at gmail.com>
Date: Tue Feb 22 09:43:40 2022 +0100
wlanapi: 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/wlanapi/Makefile.in | 1 -
dlls/wlanapi/main.c | 8 ++++----
2 files changed, 4 insertions(+), 5 deletions(-)
diff --git a/dlls/wlanapi/Makefile.in b/dlls/wlanapi/Makefile.in
index 8f219cc6148..312e5407800 100644
--- a/dlls/wlanapi/Makefile.in
+++ b/dlls/wlanapi/Makefile.in
@@ -1,4 +1,3 @@
-EXTRADEFS = -DWINE_NO_LONG_TYPES
MODULE = wlanapi.dll
IMPORTLIB = wlanapi
diff --git a/dlls/wlanapi/main.c b/dlls/wlanapi/main.c
index 07264c9e136..c3712662232 100644
--- a/dlls/wlanapi/main.c
+++ b/dlls/wlanapi/main.c
@@ -117,7 +117,7 @@ DWORD WINAPI WlanOpenHandle(DWORD client_version, void *reserved, DWORD *negotia
struct wine_wlan *wlan;
HANDLE ret_handle;
- TRACE("(%u, %p, %p, %p)\n", client_version, reserved, negotiated_version, handle);
+ TRACE("(%lu, %p, %p, %p)\n", client_version, reserved, negotiated_version, handle);
if (reserved || !negotiated_version || !handle)
return ERROR_INVALID_PARAMETER;
@@ -149,7 +149,7 @@ DWORD WINAPI WlanRegisterNotification(HANDLE handle, DWORD notify_source, BOOL i
WLAN_NOTIFICATION_CALLBACK callback, void *context,
void *reserved, DWORD *notify_prev)
{
- FIXME("(%p, %d, %d, %p, %p, %p, %p) stub\n",
+ FIXME("(%p, %ld, %d, %p, %p, %p, %p) stub\n",
handle, notify_source, ignore_dup, callback, context, reserved, notify_prev);
return ERROR_CALL_NOT_IMPLEMENTED;
@@ -158,7 +158,7 @@ DWORD WINAPI WlanRegisterNotification(HANDLE handle, DWORD notify_source, BOOL i
DWORD WINAPI WlanGetAvailableNetworkList(HANDLE handle, const GUID *guid, DWORD flags,
void *reserved, WLAN_AVAILABLE_NETWORK_LIST **network_list)
{
- FIXME("(%p, %s, 0x%x, %p, %p) stub\n",
+ FIXME("(%p, %s, 0x%lx, %p, %p) stub\n",
handle, wine_dbgstr_guid(guid), flags, reserved, network_list);
return ERROR_CALL_NOT_IMPLEMENTED;
@@ -211,7 +211,7 @@ void *WINAPI WlanAllocateMemory(DWORD size)
{
void *ret;
- TRACE("(%d)\n", size);
+ TRACE("(%ld)\n", size);
if (!size)
{
More information about the wine-cvs
mailing list