From 2b9a319e76114a73419201d52aadd01c917556fe Mon Sep 17 00:00:00 2001 From: Scott Giese Date: Tue, 11 Oct 2022 10:14:49 -0500 Subject: [PATCH] portability: change uint to unsigned int --- simgear/scene/util/SGProgram.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/simgear/scene/util/SGProgram.cxx b/simgear/scene/util/SGProgram.cxx index fb5a7eb3..b65dbba0 100644 --- a/simgear/scene/util/SGProgram.cxx +++ b/simgear/scene/util/SGProgram.cxx @@ -55,7 +55,7 @@ void SGProgram::apply(osg::State& state) const if (!infoLog.empty()) { // log all the shader source file names, to help in debugging link errors std::ostringstream os; - for (uint i = 0; i < getNumShaders(); ++i) { + for (unsigned int i = 0; i < getNumShaders(); ++i) { const auto shader = getShader(i); os << "\t" << shader->getFileName() << "\n"; } @@ -66,7 +66,7 @@ void SGProgram::apply(osg::State& state) const _effectFilePath); } - for (uint i = 0; i < getNumShaders(); ++i) { + for (unsigned int i = 0; i < getNumShaders(); ++i) { const auto shader = getShader(i); auto pcs = shader->getPCS(state);