Show
Ignore:
Timestamp:
04/22/09 18:50:50 (6 years ago)
Author:
robert
Message:

Fixed warning

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/src/osgPlugins/dxf/dxfEntity.cpp

    r9993 r10081  
    197197 
    198198    // We create an anglestep<=theta so that the line's points are evenly distributed around the circle 
    199     unsigned int numsteps=floor(osg::PI*2/theta); 
     199    unsigned int numsteps=static_cast<unsigned int>(floor(osg::PI*2/theta)); 
    200200    if (numsteps<3) numsteps=3; // Sanity check: minimal representation of a circle is a tri  
    201201    double anglestep=osg::PI*2/numsteps;