reg: 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:57:29 +01:00 committed by Alexandre Julliard
parent f158558d19
commit 1e5ffcbf2e
3 changed files with 3 additions and 4 deletions

View File

@ -1,4 +1,3 @@
EXTRADEFS = -DWINE_NO_LONG_TYPES
MODULE = reg.exe
IMPORTS = advapi32
DELAYIMPORTS = user32

View File

@ -838,7 +838,7 @@ invalid:
/* handler for parser UNKNOWN_DATA state */
static WCHAR *unknown_data_state(struct parser *parser, WCHAR *pos)
{
FIXME("Unknown registry data type [0x%x]\n", parser->data_type);
FIXME("Unknown registry data type [0x%lx]\n", parser->data_type);
set_state(parser, LINE_START);
return pos;

View File

@ -81,7 +81,7 @@ static void output_formatstring(const WCHAR *fmt, va_list va_args)
fmt, 0, 0, (WCHAR *)&str, 0, &va_args);
if (len == 0 && 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);
@ -96,7 +96,7 @@ 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;
}