]> git.mxchange.org Git - simgear.git/commitdiff
Fix a signed/unsigned compare warning
authorJames Turner <zakalawe@mac.com>
Mon, 30 Sep 2013 15:44:04 +0000 (16:44 +0100)
committerJames Turner <zakalawe@mac.com>
Mon, 30 Sep 2013 15:44:04 +0000 (16:44 +0100)
simgear/scene/tsync/terrasync.cxx

index ed61333674d6297790de1191e8a915de522c2d30..4fa9905aa753008c8be9ded1962da1549366bca5 100644 (file)
@@ -176,7 +176,7 @@ public:
 
 static const int SYNC_SLOT_TILES = 0; ///< Terrain and Objects sync
 static const int SYNC_SLOT_SHARED_DATA = 1; /// shared Models and Airport data
-static const int NUM_SYNC_SLOTS = 2;
+static const unsigned int NUM_SYNC_SLOTS = 2;
 
 /**
  * @brief translate a sync item type into one of the available slots.