From ffd272ba3c4492e2acaf6ae0ce5c3e3cd15910e2 Mon Sep 17 00:00:00 2001 From: Eugene Golushkov Date: Wed, 27 Nov 2024 16:51:06 +0100 Subject: [PATCH] warning C4267: 'argument': conversion from 'size_t' to 'unsigned long', possible loss of data --- RenderSystems/Vulkan/src/Vao/OgreVulkanVaoManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RenderSystems/Vulkan/src/Vao/OgreVulkanVaoManager.cpp b/RenderSystems/Vulkan/src/Vao/OgreVulkanVaoManager.cpp index 77a47b65a7..7f19b21204 100644 --- a/RenderSystems/Vulkan/src/Vao/OgreVulkanVaoManager.cpp +++ b/RenderSystems/Vulkan/src/Vao/OgreVulkanVaoManager.cpp @@ -186,7 +186,7 @@ namespace Ogre if( itor != params->end() ) { mDelayedBlocksFlushThreshold = static_cast( - StringConverter::parseUnsignedLong( itor->second, mDelayedBlocksFlushThreshold ) ); + StringConverter::parseSizeT( itor->second, mDelayedBlocksFlushThreshold ) ); } } }