Skip to content

Commit

Permalink
msvc: fix compiler warning on x86
Browse files Browse the repository at this point in the history
  • Loading branch information
piponazo authored and kevinbackhouse committed Aug 6, 2021
1 parent 4910ad9 commit 1b986ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/basicio.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1301,7 +1301,7 @@ namespace Exiv2 {
if (newIdx < 0)
return 1;

if (static_cast<size_t>(newIdx) > p_->size_) {
if (newIdx > p_->size_) {
p_->eof_ = true;
return 1;
}
Expand Down

0 comments on commit 1b986ca

Please sign in to comment.