From b6ffa5e8974c1788d12b7b6ebfd8df88d61611bf Mon Sep 17 00:00:00 2001 From: David Lowndes Date: Mon, 1 Jan 2024 23:52:10 +0000 Subject: [PATCH] Fix type by using auto --- UTF8Conv.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UTF8Conv.cpp b/UTF8Conv.cpp index 5932e8f..61e9862 100644 --- a/UTF8Conv.cpp +++ b/UTF8Conv.cpp @@ -58,7 +58,7 @@ BOOL CUTF8ConvApp::InitInstance() { CUTF8ConvDlg dlg; m_pMainWnd = &dlg; - int nResponse = dlg.DoModal(); + const auto nResponse = dlg.DoModal(); if (nResponse == IDOK) { // TODO: Place code here to handle when the dialog is