From d19ef4008d11e68cc7db29ca5654a7c235de3bb1 Mon Sep 17 00:00:00 2001 From: curt Date: Tue, 24 Sep 2002 13:07:30 +0000 Subject: [PATCH] Small tweaks for improved compiling. --- src/Systems/system_mgr.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Systems/system_mgr.cxx b/src/Systems/system_mgr.cxx index 58d35bc4d..b6ec4d44e 100644 --- a/src/Systems/system_mgr.cxx +++ b/src/Systems/system_mgr.cxx @@ -15,7 +15,7 @@ FGSystemMgr::FGSystemMgr () FGSystemMgr::~FGSystemMgr () { - for (int i = 0; i < _systems.size(); i++) { + for (unsigned int i = 0; i < _systems.size(); i++) { delete _systems[i]; _systems[i] = 0; } @@ -28,7 +28,7 @@ FGSystemMgr::init () _systems.push_back(new VacuumSystem); // Initialize the individual systems - for (int i = 0; i < _systems.size(); i++) + for (unsigned int i = 0; i < _systems.size(); i++) _systems[i]->init(); } @@ -47,7 +47,7 @@ FGSystemMgr::unbind () void FGSystemMgr::update (double dt) { - for (int i = 0; i < _systems.size(); i++) + for (unsigned int i = 0; i < _systems.size(); i++) _systems[i]->update(dt); } -- 2.39.5