ENUM_CURRENT_SETTINGS is (DWORD)-1 and ENUM_REGISTRY_SETTINGS is (DWORD)-2. Using %u to print them ends up a very large decimal integer, which is not easily recognizable.
Signed-off-by: Zhiyi Zhang zzhang@codeweavers.com --- dlls/user32/sysparams.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/user32/sysparams.c b/dlls/user32/sysparams.c index ab386a074e8..fd795470792 100644 --- a/dlls/user32/sysparams.c +++ b/dlls/user32/sysparams.c @@ -3423,7 +3423,7 @@ BOOL WINAPI EnumDisplaySettingsExW(LPCWSTR lpszDeviceName, DWORD iModeNum, { WCHAR primary_adapter[CCHDEVICENAME];
- TRACE("%s %u %p %#x\n", wine_dbgstr_w(lpszDeviceName), iModeNum, lpDevMode, dwFlags); + TRACE("%s %#x %p %#x\n", wine_dbgstr_w(lpszDeviceName), iModeNum, lpDevMode, dwFlags);
if (!lpszDeviceName) {