From: curt Date: Tue, 24 Sep 2002 13:07:30 +0000 (+0000) Subject: Small tweaks for improved compiling. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=d19ef4008d11e68cc7db29ca5654a7c235de3bb1;p=flightgear.git Small tweaks for improved compiling. --- 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); }