mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 08:49:15 +00:00
regedit: Use correct printf specifier for UINT64 (QWORD) values.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
This commit is contained in:
parent
9c30f3d97a
commit
e06a62049e
1 changed files with 1 additions and 1 deletions
|
@ -122,7 +122,7 @@ void format_value_data(HWND hwndLV, int index, DWORD type, void *data, DWORD siz
|
||||||
{
|
{
|
||||||
UINT64 value = *(UINT64 *)data;
|
UINT64 value = *(UINT64 *)data;
|
||||||
WCHAR buf[64];
|
WCHAR buf[64];
|
||||||
swprintf(buf, ARRAY_SIZE(buf), L"0x%08Ix (%Iu)", value, value);
|
swprintf(buf, ARRAY_SIZE(buf), L"0x%08I64x (%I64u)", value, value);
|
||||||
ListView_SetItemTextW(hwndLV, index, 2, buf);
|
ListView_SetItemTextW(hwndLV, index, 2, buf);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue