base64: fix code-analysis warning

Signed-off-by: Simon Rozman <simon@rozman.si>
This commit is contained in:
Simon Rozman 2024-04-23 11:12:39 +02:00
parent 24c35279a0
commit 369dc7ce39

View File

@ -318,6 +318,7 @@ namespace stdex
break;
size_t x = static_cast<size_t>(data[i]);
_Assume_(m_num < _countof(m_buf));
if ((m_buf[m_num] = x < _countof(base64_dec_lookup) ? base64_dec_lookup[x] : 255) != 255)
m_num++;
}