We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a4a905 commit dc08132Copy full SHA for dc08132
src/jrd/sort.cpp
@@ -1525,7 +1525,7 @@ void Sort::mergeRuns(USHORT n)
1525
// and there n < RUN_GROUP * MAX_MERGE_LEVEL
1526
merge_control blks[RUN_GROUP * MAX_MERGE_LEVEL];
1527
1528
- fb_assert((n - 1) <= FB_NELEM(blks)); // stack var big enough?
+ fb_assert(static_cast<FB_SIZE_T>(n - 1) <= FB_NELEM(blks)); // stack var big enough?
1529
1530
m_longs -= SIZEOF_SR_BCKPTR_IN_LONGS;
1531
0 commit comments