diff --git a/include/osg/BufferIndexBinding b/include/osg/BufferIndexBinding index bc564b7b5..782022837 100644 --- a/include/osg/BufferIndexBinding +++ b/include/osg/BufferIndexBinding @@ -56,7 +56,7 @@ class OSG_EXPORT BufferIndexBinding : public StateAttribute /** Get the index target. */ - GLuint getIndex() const { return _index; } + unsigned int getIndex() const { return _index; } /** Set the buffer object that will be bound to the index target. */