64-bit compatibility: use std::numeric_limits<size_t>::max() instead of 0xffffffff (inspired by patch 2897909)
64-bit compatibility: use std::numeric_limits<size_t>::max() instead of 0xffffffff (inspired by patch 2897909)

digimatic/ogre,digimatic/ogre,digimatic/ogre,digimatic/ogre,digimatic/ogre,digimatic/ogre,digimatic/ogre