Changeset 10149

Show
Ignore:
Timestamp:
05/07/09 15:21:05 (6 years ago)
Author:
robert
Message:

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 ..."

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/src/osgPlugins/ply/vertexData.cpp

    r10079 r10149  
    127127     
    128128    // read in the faces, asserting that they are only triangles 
    129     uint8_t ind1 = _invertFaces ? 2 : 0; 
    130     uint8_t ind3 = _invertFaces ? 0 : 2; 
     129    int ind1 = _invertFaces ? 2 : 0; 
     130    int ind3 = _invertFaces ? 0 : 2; 
    131131    for( int i = 0; i < nFaces; ++i ) 
    132132    {