]> git.mxchange.org Git - flightgear.git/blobdiff - src/Objects/matlib.cxx
Fixed runway-altitude problem that prevented starts at airports higher
[flightgear.git] / src / Objects / matlib.cxx
index 859f1c0eaeb0639fa5c616f4f90ad84363f5dd8f..0ea5d7b90e2e19bb4232c07be8808a0758081433 100644 (file)
@@ -86,7 +86,7 @@ bool FGMaterialLib::load( const string& mpath ) {
       FGNewMat * m = new FGNewMat(node);
 
       vector<const SGPropertyNode *>names = node->getChildren("name");
-      for (int j = 0; j < names.size(); j++) {
+      for (unsigned int j = 0; j < names.size(); j++) {
        m->ref();
        matlib[names[j]->getStringValue()] = m;
        SG_LOG( SG_TERRAIN, SG_INFO, "  Loading material "