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:
parent
d2a5c5ab46
commit
f658d9d178
|
@ -1,4 +1,3 @@
|
||||||
EXTRADEFS = -DWINE_NO_LONG_TYPES
|
|
||||||
MODULE = netstat.exe
|
MODULE = netstat.exe
|
||||||
IMPORTS = iphlpapi user32 ws2_32
|
IMPORTS = iphlpapi user32 ws2_32
|
||||||
|
|
||||||
|
|
|
@ -145,7 +145,7 @@ static WCHAR *NETSTAT_load_message(UINT id) {
|
||||||
static const WCHAR failedW[] = {'F','a','i','l','e','d','!','\0'};
|
static const WCHAR failedW[] = {'F','a','i','l','e','d','!','\0'};
|
||||||
|
|
||||||
if (!LoadStringW(GetModuleHandleW(NULL), id, msg, ARRAY_SIZE(msg))) {
|
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);
|
lstrcpyW(msg, failedW);
|
||||||
}
|
}
|
||||||
return msg;
|
return msg;
|
||||||
|
|
Loading…
Reference in New Issue