From Jean-Sebastien Guay, warning fixes.

This commit is contained in:
Robert Osfield
2009-02-04 19:22:25 +00:00
parent 849333d43e
commit 3a34e2869b
4 changed files with 8 additions and 0 deletions

View File

@@ -9,6 +9,8 @@
#define YY_FLEX_MAJOR_VERSION 2
#define YY_FLEX_MINOR_VERSION 5
#include <osg/Config>
#if defined(_MSC_VER) && defined(OSG_DISABLE_MSVC_WARNINGS)
// disable '=' : conversion from 'int' to 'char', possible loss of data style warnings
#pragma warning( disable : 4244)

View File

@@ -79,6 +79,7 @@ public:
class arc
{
public:
arc() {}
arc & mark() { m_Marker = true; return (* this); }
arc & unmark() { m_Marker = false; return (* this); }
bool marked() const { return m_Marker; }