[PATCH 14/15] programs/netstat: enable compilation with long types
Eric Pouech
eric.pouech at gmail.com
Fri Jan 28 10:59:00 CST 2022
---
programs/netstat/Makefile.in | 1 -
programs/netstat/netstat.c | 2 +-
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/programs/netstat/Makefile.in b/programs/netstat/Makefile.in
index 693fde0c1f4..e16d01ba4e9 100644
--- a/programs/netstat/Makefile.in
+++ b/programs/netstat/Makefile.in
@@ -1,4 +1,3 @@
-EXTRADEFS = -DWINE_NO_LONG_TYPES
MODULE = netstat.exe
IMPORTS = iphlpapi user32 ws2_32
diff --git a/programs/netstat/netstat.c b/programs/netstat/netstat.c
index 243fca56055..16238ee097f 100644
--- a/programs/netstat/netstat.c
+++ b/programs/netstat/netstat.c
@@ -145,7 +145,7 @@ static WCHAR *NETSTAT_load_message(UINT id) {
static const WCHAR failedW[] = {'F','a','i','l','e','d','!','\0'};
if (!LoadStringW(GetModuleHandleW(NULL), id, msg, ARRAY_SIZE(msg))) {
- WINE_FIXME("LoadString failed with %d\n", GetLastError());
+ WINE_FIXME("LoadString failed with %ld\n", GetLastError());
lstrcpyW(msg, failedW);
}
return msg;
More information about the wine-devel
mailing list