Fix compilation

This commit is contained in:
Wojtek Figat
2022-07-03 15:33:15 +02:00
parent 400c4bb570
commit 98d8543334
2 changed files with 34 additions and 1 deletions

View File

@@ -215,7 +215,10 @@ static VKAPI_ATTR VkBool32 VKAPI_PTR DebugUtilsCallback(VkDebugUtilsMessageSever
while (handleStart != nullptr)
{
while (*handleStart != ' ' && *handleStart != 0)
*handleStart++ = Math::Clamp<char>(*handleStart, '0', 'z');
{
*handleStart = Math::Clamp<char>(*handleStart, '0', 'z');
handleStart++;
}
if (*handleStart == 0)
break;
handleStart = (char*)StringUtils::FindIgnoreCase(handleStart, "0x");