Skip to content

Commit dc08132

Browse files
author
Artyom Abakumov
committed
One more Wsign-compare fix
1 parent 5a4a905 commit dc08132

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/jrd/sort.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1525,7 +1525,7 @@ void Sort::mergeRuns(USHORT n)
15251525
// and there n < RUN_GROUP * MAX_MERGE_LEVEL
15261526
merge_control blks[RUN_GROUP * MAX_MERGE_LEVEL];
15271527

1528-
fb_assert((n - 1) <= FB_NELEM(blks)); // stack var big enough?
1528+
fb_assert(static_cast<FB_SIZE_T>(n - 1) <= FB_NELEM(blks)); // stack var big enough?
15291529

15301530
m_longs -= SIZEOF_SR_BCKPTR_IN_LONGS;
15311531

0 commit comments

Comments
 (0)