From d176f752a5a579c021fe85840f6cb1bdcebcdf13 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Sun, 29 Sep 2002 12:33:30 +0000 Subject: [PATCH] From Daniel, Fixes for warnings under Win32. --- src/osgPlugins/flt/flt2osg.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/osgPlugins/flt/flt2osg.cpp b/src/osgPlugins/flt/flt2osg.cpp index a77cb462e..459893f87 100644 --- a/src/osgPlugins/flt/flt2osg.cpp +++ b/src/osgPlugins/flt/flt2osg.cpp @@ -1234,7 +1234,7 @@ ConvertFromFLT::addMultiTexture( DynGeoSet* dgset, MultiTextureRecord* mtr ) CERR << "ConvertFromFLT::addMultiTexture\n"; int l = 0; for ( int i = 0; i < 8; i++ ) { - if ( (1 << 32-i) & mt->layers ) { + if ( (1 << (32-i)) & mt->layers ) { CERR << "Has layer " << i << "\n"; mt->data[l].endian(); CERR << "texture: " << mt->data[l].texture << "\n"; @@ -1301,7 +1301,7 @@ ConvertFromFLT::addUVList( DynGeoSet* dgset, UVListRecord* uvr ) int l = 0; int num_coords = dgset->coordListSize(); for ( int i = 0; i < 8; i++ ) { - if ( (1 << 32-i) & uvl->layers ) { + if ( (1 << (32-i)) & uvl->layers ) { osg::Vec2Array* tcoords = new osg::Vec2Array; CERR << "Has layer " << i << "\n"; // Assume we are working with vertex lists for now