From ea94129762ec66707afdd127b5a69fdc99d5dace Mon Sep 17 00:00:00 2001 From: OV2 Date: Fri, 24 Mar 2023 15:53:30 +0100 Subject: [PATCH] win32: fix warning --- win32/wsnes9x.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/win32/wsnes9x.cpp b/win32/wsnes9x.cpp index 4f69022a..0d09064d 100644 --- a/win32/wsnes9x.cpp +++ b/win32/wsnes9x.cpp @@ -5000,7 +5000,7 @@ INT_PTR CALLBACK DlgInfoProc(HWND hDlg, UINT msg, WPARAM wParam, LPARAM lParam) Utf8ToWide romname(Memory.ROMFilename.c_str()); TCHAR rominfo[4096]; - _stprintf(rominfo, TEXT("File: %s\r\n%s"), (TCHAR *)romname, _tFromMS932(romtext)); + _stprintf(rominfo, TEXT("File: %s\r\n%s"), (TCHAR *)romname, (TCHAR *)_tFromMS932(romtext)); SendDlgItemMessage(hDlg, IDC_ROM_DATA, WM_SETTEXT, 0, (LPARAM)((TCHAR *)rominfo)); break;