Skip to content

Commit

Permalink
Various other fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
poire-z committed Jul 3, 2020
1 parent 6f58582 commit 2cf99fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crengine/include/lvptrvec.h
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ class LVPtrVector
/// removes item from vector by index
T * remove( int pos )
{
if (pos < 0 || (unsigned)pos > (unsigned)_count)
if (pos < 0 || (unsigned)pos >= (unsigned)_count)
crFatalError();
int i;
T * item = _list[pos];
Expand Down

0 comments on commit 2cf99fa

Please sign in to comment.