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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user