Fixed warnings, updated NEWS

This commit is contained in:
Robert Osfield
2009-01-30 10:55:28 +00:00
parent 6710fbc78a
commit 411431f3be
18 changed files with 37 additions and 36 deletions

View File

@@ -89,7 +89,7 @@ class OSG_EXPORT StateSet : public Object
* Get the number of parents of this StateSet.
* @return the number of parents of this StateSet.
*/
inline unsigned int getNumParents() const { return _parents.size(); }
inline unsigned int getNumParents() const { return static_cast<unsigned int>(_parents.size()); }
/** Compute the DataVariance based on an assessment of callback etc.*/