Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

Commit 125fff0

Browse files
committed
[[ Cleanup ]] revdb: abs(3) returns int, not unsigned int.
1 parent 4fd6ff0 commit 125fff0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

revdb/src/dbdrivercommon.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ Bool CDBCursor::move(int p_record_index)
332332
return True;
333333

334334
// The absolute value of the difference gives us the number of moves needed to reach the required record.
335-
for (unsigned int i = 0; i < abs(t_gap); i++)
335+
for (int i = 0; i < abs(t_gap); i++)
336336
{
337337
Bool t_result;
338338
if (t_gap > 0)

0 commit comments

Comments
 (0)