chcp.com: 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
08bd6db4aa
commit
abbde22d98
|
@ -1,4 +1,3 @@
|
|||
EXTRADEFS = -DWINE_NO_LONG_TYPES
|
||||
MODULE = chcp.com
|
||||
IMPORTS = kernelbase
|
||||
|
||||
|
|
|
@ -56,7 +56,7 @@ static void output_formatstring(const WCHAR *fmt, va_list va_args)
|
|||
fmt, 0, 0, (WCHAR *)&str, 0, &va_args);
|
||||
if (!len && GetLastError() != ERROR_NO_WORK_DONE)
|
||||
{
|
||||
WINE_FIXME("Could not format string: le=%u, fmt=%s\n", GetLastError(), wine_dbgstr_w(fmt));
|
||||
WINE_FIXME("Could not format string: le=%lu, fmt=%s\n", GetLastError(), wine_dbgstr_w(fmt));
|
||||
return;
|
||||
}
|
||||
output_writeconsole(str, len);
|
||||
|
@ -71,7 +71,7 @@ static void WINAPIV output_message(unsigned int id, ...)
|
|||
|
||||
if (!(len = LoadStringW(GetModuleHandleW(NULL), id, (WCHAR *)&fmt, 0)))
|
||||
{
|
||||
WINE_FIXME("LoadString failed with %d\n", GetLastError());
|
||||
WINE_FIXME("LoadString failed with %ld\n", GetLastError());
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue