diff --git a/core/frame_main.cpp b/core/frame_main.cpp index e1279db4d..9427b7e13 100644 --- a/core/frame_main.cpp +++ b/core/frame_main.cpp @@ -948,7 +948,7 @@ void FrameMain::SynchronizeProject(bool fromSubs) { wxString autobasefn(Options.AsText(_T("Automation Base Path"))); const std::vector &scripts = local_scripts->GetScripts(); - for (int i = 0; i < scripts.size(); i++) { + for (unsigned int i = 0; i < scripts.size(); i++) { Automation4::Script *script = scripts[i]; if (i != 0) diff --git a/core/frame_main_events.cpp b/core/frame_main_events.cpp index a124ccf16..b39db90d0 100644 --- a/core/frame_main_events.cpp +++ b/core/frame_main_events.cpp @@ -238,7 +238,7 @@ void FrameMain::OnMenuOpen (wxMenuEvent &event) { wxMenu *curMenu = event.GetMenu(); // Start by cleaning up in macro menu items - for (int i = 0; i < activeMacroItems.size(); i++) { + for (unsigned int i = 0; i < activeMacroItems.size(); i++) { wxMenu *p = 0; wxMenuItem *it = MenuBar->FindItem(Menu_Automation_Macro + i, &p); if (it) diff --git a/lua51/lua51_vc8.vcproj b/lua51/lua51_vc8.vcproj index c50b5720c..301929f0d 100644 --- a/lua51/lua51_vc8.vcproj +++ b/lua51/lua51_vc8.vcproj @@ -44,7 +44,7 @@ PreprocessorDefinitions="WIN32;_DEBUG;_LIB" MinimalRebuild="true" BasicRuntimeChecks="3" - RuntimeLibrary="1" + RuntimeLibrary="3" DisableLanguageExtensions="false" UsePrecompiledHeader="0" WarningLevel="3" @@ -109,7 +109,7 @@