diff --git a/Source/build.cpp b/Source/build.cpp index 83c61712..276af303 100644 --- a/Source/build.cpp +++ b/Source/build.cpp @@ -3650,7 +3650,7 @@ bool CEXEBuild::prompt_for_output_path(TCHAR*path, UINT pathcap) const if (Msg == WM_COPYDATA && pCDS->cbData > sizeof(TCHAR) && pCDS->cbData <= io[2] * sizeof(TCHAR)) { _tcscpy((TCHAR*) io[1], (TCHAR*) ((COPYDATASTRUCT*)lParam)->lpData); - return (io[0] = (pCDS->dwData == PROMPT_FILEPATH)); + return (io[0] = (pCDS->dwData == MakensisAPI::PROMPT_FILEPATH)); } return false; } diff --git a/Source/manifest.cpp b/Source/manifest.cpp index bca83eab..832e5642 100644 --- a/Source/manifest.cpp +++ b/Source/manifest.cpp @@ -127,7 +127,7 @@ static bool append(string& xml, const TCHAR*path, const char*prefix = 0, const c bool any = false; int i = isvalidappendpath(path); if (i >= 0) - for (std::size_t j = 0; j < g_appendstrings[i].size(); ++j) + for (size_t j = 0; j < g_appendstrings[i].size(); ++j) { if (!any && prefix) xml += prefix, any = true; xml += g_appendstrings[i][j];