X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FObjects%2Fmatlib.cxx;h=0ea5d7b90e2e19bb4232c07be8808a0758081433;hb=b4a9d7621597c9eef97f8ec84d246d5585b4b7ea;hp=859f1c0eaeb0639fa5c616f4f90ad84363f5dd8f;hpb=dea7284cc7d3c8b73a45544703c62396fd3ea7de;p=flightgear.git diff --git a/src/Objects/matlib.cxx b/src/Objects/matlib.cxx index 859f1c0ea..0ea5d7b90 100644 --- a/src/Objects/matlib.cxx +++ b/src/Objects/matlib.cxx @@ -86,7 +86,7 @@ bool FGMaterialLib::load( const string& mpath ) { FGNewMat * m = new FGNewMat(node); vectornames = 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 "