From 5215d43e1448dee4a4749e1daa9bedb2ea0cdf8a Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Thu, 10 Feb 2005 20:21:01 +0000 Subject: [PATCH] warning fix --- src/osg/Image.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/osg/Image.cpp b/src/osg/Image.cpp index c499db6fc..39268b0c9 100644 --- a/src/osg/Image.cpp +++ b/src/osg/Image.cpp @@ -885,8 +885,8 @@ bool Image::isImageTranslucent() const case(GL_SHORT): return _findLowerAlphaValueInRow(s(), (short*)d + offset, (short)32767, delta); case(GL_UNSIGNED_SHORT): return _findLowerAlphaValueInRow(s(), (unsigned short*)d + offset, (unsigned short)65535, delta); case(GL_INT): return _findLowerAlphaValueInRow(s(), (int*)d + offset, (int)2147483647, delta); - case(GL_UNSIGNED_INT): return _findLowerAlphaValueInRow(s(), (unsigned int*)d + offset, (unsigned int)4294967295, delta); - case(GL_FLOAT): return _findLowerAlphaValueInRow(s(), (float*)d + offset, 1.0f, delta); + case(GL_UNSIGNED_INT): return _findLowerAlphaValueInRow(s(), (unsigned int*)d + offset, 4294967295u, delta); + case(GL_FLOAT): return _findLowerAlphaValueInRow(s(), (float*)d + offset, 1.0f, delta); } } }