Hi Morne, On Tue, Feb 3, 2009 at 2:54 PM, Morné Pistorius <mpistorius....@googlemail.com> wrote: > Hi Robert, > > I think in VS, specifiying something as just unsigned causes the > compiler to read "unsigned int". > > If you change the line to > > return static_cast<unsigned long const volatile &>(_value); > > I think the warning will disappear.
This will just then invoke an implicit case from unsigned long to unsigned int, it's better to keep the cast explict. Robert. _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org