Thanks Maxim. I've applied this fix to the 3.6 branch and master.
On 22 May 2018 at 21:17, Maxim Stere <osgfo...@tevs.eu> wrote: > Hi Robert, > > We found a bug in the timer class. > > in osg/Timer lines 21 to 25 read: > > > Code: > > #if defined(_MSC_VER) > typedef __int64 Timer_t; > #else > typedef unsigned long long Timer_t; > #endif > > > > > but it should be > > > Code: > > #if defined(_MSC_VER) > typedef unsigned __int64 Timer_t; > #else > typedef unsigned long long Timer_t; > #endif > > > > > We were working with timers in Linux and Windows, and noticed that in certain > cases you can introduce a bug that will be hidden on Windows and will break > things on Linux if you all of a sudden somehow get negative Timer_t > > > ... > > Thank you! > > Cheers, > Maxim > > ------------------------ > Thank you, > --Maxim > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=73714#73714 > > > > > > _______________________________________________ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org