From d9f920ee37467e063f9236e0683b854858b09593 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Tue, 17 Mar 2015 18:10:21 +0000 Subject: [PATCH] Fixed VisualStudio warning git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14802 16af8721-9629-0410-8352-f15c8da7e697 --- src/osgPlugins/osgjs/JSON_Objects.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osgPlugins/osgjs/JSON_Objects.cpp b/src/osgPlugins/osgjs/JSON_Objects.cpp index 65a2ba4ef..69a259223 100644 --- a/src/osgPlugins/osgjs/JSON_Objects.cpp +++ b/src/osgPlugins/osgjs/JSON_Objects.cpp @@ -62,7 +62,7 @@ JSONObject::JSONObject(const unsigned int id, const std::string& bufferName) JSONObject::JSONObject() { - _uniqueID = -1; + _uniqueID = 0xffffffff; } void JSONObject::addUniqueID()