diff --git a/apps/openmw/mwrender/util.cpp b/apps/openmw/mwrender/util.cpp index 06453e0ce9..dbb990584d 100644 --- a/apps/openmw/mwrender/util.cpp +++ b/apps/openmw/mwrender/util.cpp @@ -14,7 +14,7 @@ namespace MWRender class TextureOverrideVisitor : public osg::NodeVisitor { public: - TextureOverrideVisitor(size_t refID, std::string texture, Resource::ResourceSystem* resourcesystem) + TextureOverrideVisitor(int refID, std::string texture, Resource::ResourceSystem* resourcesystem) : osg::NodeVisitor(TRAVERSE_ALL_CHILDREN) , mRefID(refID) , mTexture(texture)