From d0960b2c57bc90b6a64dd1a3dc434f41e47384b5 Mon Sep 17 00:00:00 2001 From: andheh <36114788+andheh@users.noreply.github.com> Date: Mon, 26 Feb 2018 11:22:49 +0100 Subject: [PATCH] fixed a "signed vs. unsigned" warning --- src/Sequence.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Sequence.cpp b/src/Sequence.cpp index 66c18537b..586cedc1e 100644 --- a/src/Sequence.cpp +++ b/src/Sequence.cpp @@ -861,7 +861,7 @@ bool Sequence::HandleXMLTag(const wxChar *tag, const wxChar **attrs) // The check intended here was already done in DirManager::HandleXMLTag(), where // it let the block be built, then checked against mMaxSamples, and deleted the block // if the size of the block is bigger than mMaxSamples. - if (nValue > mMaxSamples) + if (static_cast(nValue) > mMaxSamples) { mErrorOpening = true; return false;