msvc: fix compiler warning on x86
This commit is contained in:
parent
0bd2ff32ad
commit
9de534976f
@ -1292,7 +1292,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;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user