From 870b1919c8ab4db70b69664d60648db71160ac3c Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Thu, 7 May 2009 13:21:05 +0000 Subject: [PATCH] From MAthias Froehlich, "Attached is a compile fix I need on Suse 11.1 for a successful compile. Just avoid uint8_t typed values in src/osgPlugins/ply/vertexData.cpp if they are not needed for a particular reason ..." --- src/osgPlugins/ply/vertexData.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/osgPlugins/ply/vertexData.cpp b/src/osgPlugins/ply/vertexData.cpp index e41eb17a4..0dc784d99 100644 --- a/src/osgPlugins/ply/vertexData.cpp +++ b/src/osgPlugins/ply/vertexData.cpp @@ -126,8 +126,8 @@ void VertexData::readTriangles( PlyFile* file, const int nFaces ) // read in the faces, asserting that they are only triangles - uint8_t ind1 = _invertFaces ? 2 : 0; - uint8_t ind3 = _invertFaces ? 0 : 2; + int ind1 = _invertFaces ? 2 : 0; + int ind3 = _invertFaces ? 0 : 2; for( int i = 0; i < nFaces; ++i ) { ply_get_element( file, static_cast< void* >( &face ) );