Fixed warnings and Lua's vc8 project file

Originally committed to SVN as r648.
This commit is contained in:
Rodrigo Braz Monteiro 2006-12-28 22:41:20 +00:00
parent 5f1d8c414d
commit 9ae7d72d44
3 changed files with 4 additions and 4 deletions

View file

@ -948,7 +948,7 @@ void FrameMain::SynchronizeProject(bool fromSubs) {
wxString autobasefn(Options.AsText(_T("Automation Base Path")));
const std::vector<Automation4::Script*> &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)

View file

@ -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)

View file

@ -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 @@
<Tool
Name="VCCLCompilerTool"
PreprocessorDefinitions="WIN32;NDEBUG;_LIB"
RuntimeLibrary="0"
RuntimeLibrary="2"
UsePrecompiledHeader="0"
WarningLevel="3"
Detect64BitPortabilityProblems="true"