]> git.mxchange.org Git - flightgear.git/commitdiff
Small tweaks for improved compiling.
authorcurt <curt>
Tue, 24 Sep 2002 13:07:30 +0000 (13:07 +0000)
committercurt <curt>
Tue, 24 Sep 2002 13:07:30 +0000 (13:07 +0000)
src/Systems/system_mgr.cxx

index 58d35bc4d8792f44c8ffb52bbe83ee8835b8adb8..b6ec4d44e108f6a857594a1512526dc0e058b16c 100644 (file)
@@ -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);
 }