Index: OpenSceneGraph/trunk/src/osgPlugins/ply/vertexData.cpp
===================================================================
--- OpenSceneGraph/trunk/src/osgPlugins/ply/vertexData.cpp (revision 10079)
+++ OpenSceneGraph/trunk/src/osgPlugins/ply/vertexData.cpp (revision 10149)
@@ -127,6 +127,6 @@
     
     // 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 )
     {
