From 9de534976f812ba2fb80aa383ac6f1896e329ae4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luis=20D=C3=ADaz=20M=C3=A1s?= Date: Sun, 25 Apr 2021 17:12:14 +0200 Subject: [PATCH] msvc: fix compiler warning on x86 --- src/basicio.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/basicio.cpp b/src/basicio.cpp index 85a093ab..73ec03b1 100644 --- a/src/basicio.cpp +++ b/src/basicio.cpp @@ -1292,7 +1292,7 @@ namespace Exiv2 { if (newIdx < 0) return 1; - if (static_cast(newIdx) > p_->size_) { + if (newIdx > p_->size_) { p_->eof_ = true; return 1; }