diff --git a/src/Viewer/splash.cxx b/src/Viewer/splash.cxx index d92d25ef9..6e6367c7e 100644 --- a/src/Viewer/splash.cxx +++ b/src/Viewer/splash.cxx @@ -543,7 +543,7 @@ void SplashScreen::manuallyResizeFBO(int width, int height) osg::ref_ptr newCam = createFBOCamera(); // swap everything around - for (int i=0; i<_splashFBOCamera->getNumChildren(); ++i) { + for (unsigned int i=0; i < _splashFBOCamera->getNumChildren(); ++i) { newCam->addChild(_splashFBOCamera->getChild(i)); }