diff --git a/RenderSystems/Vulkan/src/Vao/OgreVulkanVaoManager.cpp b/RenderSystems/Vulkan/src/Vao/OgreVulkanVaoManager.cpp index 77a47b65a7..67295f70d2 100644 --- a/RenderSystems/Vulkan/src/Vao/OgreVulkanVaoManager.cpp +++ b/RenderSystems/Vulkan/src/Vao/OgreVulkanVaoManager.cpp @@ -185,8 +185,8 @@ namespace Ogre params->find( "VaoManager::mDelayedBlocksFlushThreshold" ); if( itor != params->end() ) { - mDelayedBlocksFlushThreshold = static_cast( - StringConverter::parseUnsignedLong( itor->second, mDelayedBlocksFlushThreshold ) ); + mDelayedBlocksFlushThreshold = + StringConverter::parseSizeT( itor->second, mDelayedBlocksFlushThreshold ); } } }