From a6876e258ab10d7138f844e11252ae876f940ac2 Mon Sep 17 00:00:00 2001 From: heckflosse Date: Tue, 1 Nov 2016 14:25:17 +0100 Subject: [PATCH] Fixed compilation error --- rtengine/rawimage.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rtengine/rawimage.h b/rtengine/rawimage.h index c3da24f0d..474b9b8ee 100644 --- a/rtengine/rawimage.h +++ b/rtengine/rawimage.h @@ -311,7 +311,7 @@ public: // a single raw file can contain more than one frame. // Variable is_raw holds the number of frames in the raw file // use setFrameNumber() to set the number of the frame [0; is_raw - 1] to be processed - shot_select = std::min(std::max(is_raw, 1) - 1, frameNum); + shot_select = std::min(std::max(is_raw, 1u) - 1, frameNum); } public: