From this morning SVN on AMD 64 bits:

/users/mvalle/OSG/OpenSceneGraph/src/osgWidget/Window.cpp: In member function `void osgWidget::Window::_removeFromGeode(osgWidget::Widget*)': /users/mvalle/OSG/OpenSceneGraph/src/osgWidget/Window.cpp:413: warning: converting of negative value `-0x00000000000000001' to `unsigned int' /users/mvalle/OSG/OpenSceneGraph/src/osgWidget/WindowManager.cpp: In member function `virtual void osgWidget::WindowManager::childRemoved(unsigned int, unsigned int)': /users/mvalle/OSG/OpenSceneGraph/src/osgWidget/WindowManager.cpp:275: warning: converting of negative value `-0x00000000000000001' to `unsigned int'


The quickest fix is to change the type of _index in include osgWidgets/Window 
line 406 to int.

But from a quick look at the code I think setting _index to 0 instead of -1 is safe in those two places.

Could you look at this?
Ciao!
                mario

--
Ing. Mario Valle
Data Analysis and Visualization Services         | http://www.cscs.ch/~mvalle
Swiss National Supercomputing Centre (CSCS)      | Tel:  +41 (91) 610.82.60
v. Cantonale Galleria 2, 6928 Manno, Switzerland | Fax:  +41 (91) 610.82.82
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to