netstat: Enable compilation with long types.

Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Eric Pouech 2022-02-04 09:56:57 +01:00 committed by Alexandre Julliard
parent d2a5c5ab46
commit f658d9d178
2 changed files with 1 additions and 2 deletions

View File

@ -1,4 +1,3 @@
EXTRADEFS = -DWINE_NO_LONG_TYPES
MODULE = netstat.exe
IMPORTS = iphlpapi user32 ws2_32

View File

@ -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;