fix bounds check condition in assert

This commit is contained in:
Nikita Smith
2024-10-18 11:07:00 -07:00
parent 36f3924160
commit 7827e1b1c7
+1 -1
View File
@@ -1801,7 +1801,7 @@ cv_dedup_symbol_ptr_array(TP_Context *tp, CV_SymbolPtrArray *symbols)
} }
ProfEnd(); ProfEnd();
Assert(unique_symbol_count < symbols->count); Assert(unique_symbol_count <= symbols->count);
symbols->count = unique_symbol_count; symbols->count = unique_symbol_count;
ProfBeginDynamic("Sort [Count %llu]", symbols->count); ProfBeginDynamic("Sort [Count %llu]", symbols->count);