From 21b1a34c24a3729bdfaba40da678bf502bbadceb Mon Sep 17 00:00:00 2001 From: heckflosse Date: Fri, 31 Mar 2017 13:36:17 +0200 Subject: [PATCH] Fix all warnings in imageio.cc --- rtengine/imageio.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rtengine/imageio.cc b/rtengine/imageio.cc index f24842b65..fea072594 100644 --- a/rtengine/imageio.cc +++ b/rtengine/imageio.cc @@ -1245,7 +1245,7 @@ int ImageIO::saveTIFF (Glib::ustring fname, int bps, bool uncompressed) // The maximum lenght is strangely not the same than for the JPEG file... // Which maximum length is the good one ? - if (size > 0 && size <= bufferSize) { + if (size > 0 && size <= static_cast(bufferSize)) { fwrite (buffer, size, 1, file); }