Potential fix for code scanning alert no. 93: Unsigned difference expression compared to zero

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
This commit is contained in:
Scott Brenner
2025-04-25 15:51:21 -07:00
committed by teejusb
parent 69e33037ed
commit dddba8bbda
+1 -1
View File
@@ -1432,7 +1432,7 @@ void SMLoader::ParseBGChangesString(const RString& _sChanges, std::vector<std::v
if (RString::npos == pos)
pos = _sChanges.size();
if (pos - start > 0) {
if (pos != start) {
if ((start == 0) && (pos == _sChanges.size()))
sChanges = _sChanges;
else