Commit abbde22d authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

chcp.com: Enable compilation with long types.

parent 08bd6db4
EXTRADEFS = -DWINE_NO_LONG_TYPES
MODULE = chcp.com MODULE = chcp.com
IMPORTS = kernelbase IMPORTS = kernelbase
......
...@@ -56,7 +56,7 @@ static void output_formatstring(const WCHAR *fmt, va_list va_args) ...@@ -56,7 +56,7 @@ static void output_formatstring(const WCHAR *fmt, va_list va_args)
fmt, 0, 0, (WCHAR *)&str, 0, &va_args); fmt, 0, 0, (WCHAR *)&str, 0, &va_args);
if (!len && GetLastError() != ERROR_NO_WORK_DONE) 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; return;
} }
output_writeconsole(str, len); output_writeconsole(str, len);
...@@ -71,7 +71,7 @@ static void WINAPIV output_message(unsigned int id, ...) ...@@ -71,7 +71,7 @@ static void WINAPIV output_message(unsigned int id, ...)
if (!(len = LoadStringW(GetModuleHandleW(NULL), id, (WCHAR *)&fmt, 0))) 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; return;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment