Eric Pouech : newdev: Enable compilation with long types.
Alexandre Julliard
julliard at winehq.org
Wed Feb 16 15:30:23 CST 2022
Module: wine
Branch: master
Commit: 6a213b1c67cc9f668bd65c0540225d37bd42771d
URL: https://source.winehq.org/git/wine.git/?a=commit;h=6a213b1c67cc9f668bd65c0540225d37bd42771d
Author: Eric Pouech <eric.pouech at gmail.com>
Date: Wed Feb 16 08:11:28 2022 +0100
newdev: 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/newdev/Makefile.in | 1 -
dlls/newdev/main.c | 8 ++++----
2 files changed, 4 insertions(+), 5 deletions(-)
diff --git a/dlls/newdev/Makefile.in b/dlls/newdev/Makefile.in
index 25f2fea0518..c447a388614 100644
--- a/dlls/newdev/Makefile.in
+++ b/dlls/newdev/Makefile.in
@@ -1,4 +1,3 @@
-EXTRADEFS = -DWINE_NO_LONG_TYPES
MODULE = newdev.dll
IMPORTLIB = newdev
IMPORTS = setupapi
diff --git a/dlls/newdev/main.c b/dlls/newdev/main.c
index 72e7cbc690d..54f572c3d08 100644
--- a/dlls/newdev/main.c
+++ b/dlls/newdev/main.c
@@ -101,11 +101,11 @@ BOOL WINAPI UpdateDriverForPlugAndPlayDevicesW(HWND parent, const WCHAR *hardwar
DIF_NEWDEVICEWIZARD_FINISHINSTALL,
};
- TRACE("parent %p, hardware_id %s, inf_path %s, flags %#x, reboot %p.\n",
+ TRACE("parent %p, hardware_id %s, inf_path %s, flags %#lx, reboot %p.\n",
parent, debugstr_w(hardware_id), debugstr_w(inf_path), flags, reboot);
if (flags)
- FIXME("Unhandled flags %#x.\n", flags);
+ FIXME("Unhandled flags %#lx.\n", flags);
if (reboot) *reboot = FALSE;
@@ -154,7 +154,7 @@ BOOL WINAPI UpdateDriverForPlugAndPlayDevicesW(HWND parent, const WCHAR *hardwar
*/
BOOL WINAPI DiInstallDriverA(HWND parent, const char *inf_path, DWORD flags, BOOL *reboot)
{
- FIXME("parent %p, inf_path %s, flags %#x, reboot %p, stub!\n", parent, debugstr_a(inf_path), flags, reboot);
+ FIXME("parent %p, inf_path %s, flags %#lx, reboot %p, stub!\n", parent, debugstr_a(inf_path), flags, reboot);
return TRUE;
}
@@ -163,6 +163,6 @@ BOOL WINAPI DiInstallDriverA(HWND parent, const char *inf_path, DWORD flags, BOO
*/
BOOL WINAPI DiInstallDriverW(HWND parent, const WCHAR *inf_path, DWORD flags, BOOL *reboot)
{
- FIXME("parent %p, inf_path %s, flags %#x, reboot %p, stub!\n", parent, debugstr_w(inf_path), flags, reboot);
+ FIXME("parent %p, inf_path %s, flags %#lx, reboot %p, stub!\n", parent, debugstr_w(inf_path), flags, reboot);
return TRUE;
}
More information about the wine-cvs
mailing list