Fix format warnings for HRESULT

This commit is contained in:
Felix Anderson 2021-06-16 17:51:20 +00:00
parent e4999005cb
commit 9cd231f2eb
Signed by untrusted user: felix
GPG Key ID: 69ADF8AEB6C8B5D1
6 changed files with 6 additions and 6 deletions

View File

@ -51,7 +51,7 @@ HRESULT aime_dll_init(const struct aime_dll_config *cfg, HINSTANCE self)
if (owned == NULL) {
hr = HRESULT_FROM_WIN32(GetLastError());
dprintf("NFC Assembly: Failed to load IO DLL: %x: %S\n",
dprintf("NFC Assembly: Failed to load IO DLL: %lx: %S\n",
hr,
cfg->path);

View File

@ -57,7 +57,7 @@ HRESULT chuni_dll_init(const struct chuni_dll_config *cfg, HINSTANCE self)
if (owned == NULL) {
hr = HRESULT_FROM_WIN32(GetLastError());
dprintf("Chunithm IO: Failed to load IO DLL: %x: %S\n",
dprintf("Chunithm IO: Failed to load IO DLL: %lx: %S\n",
hr,
cfg->path);

View File

@ -57,7 +57,7 @@ HRESULT diva_dll_init(const struct diva_dll_config *cfg, HINSTANCE self)
if (owned == NULL) {
hr = HRESULT_FROM_WIN32(GetLastError());
dprintf("Diva IO: Failed to load IO DLL: %x: %S\n",
dprintf("Diva IO: Failed to load IO DLL: %lx: %S\n",
hr,
cfg->path);

View File

@ -51,7 +51,7 @@ HRESULT idz_dll_init(const struct idz_dll_config *cfg, HINSTANCE self)
if (owned == NULL) {
hr = HRESULT_FROM_WIN32(GetLastError());
dprintf("IDZ IO: Failed to load IO DLL: %x: %S\n",
dprintf("IDZ IO: Failed to load IO DLL: %lx: %S\n",
hr,
cfg->path);

View File

@ -34,7 +34,7 @@ HRESULT idz_io_jvs_init(void)
if (inst == NULL) {
hr = HRESULT_FROM_WIN32(GetLastError());
dprintf("GetModuleHandleW failed: %x\n", hr);
dprintf("GetModuleHandleW failed: %lx\n", hr);
return hr;
}

View File

@ -51,7 +51,7 @@ HRESULT mu3_dll_init(const struct mu3_dll_config *cfg, HINSTANCE self)
if (owned == NULL) {
hr = HRESULT_FROM_WIN32(GetLastError());
dprintf("Ongeki IO: Failed to load IO DLL: %x: %S\n",
dprintf("Ongeki IO: Failed to load IO DLL: %lx: %S\n",
hr,
cfg->path);