Fix warning in rtengine/rawimage.cc and rtgui/dirbrowser.cc

This commit is contained in:
heckflosse 2017-04-01 20:59:10 +02:00
parent 6171db443f
commit f9aa67b05e
2 changed files with 3 additions and 2 deletions

View File

@ -442,7 +442,7 @@ int RawImage::loadRaw (bool loadData, unsigned int imageNum, bool closeFile, Pro
return 2; return 2;
} }
if(!strcmp(make,"Fujifilm") && raw_height * raw_width * 2 != raw_size) { if(!strcmp(make,"Fujifilm") && raw_height * raw_width * 2u != raw_size) {
parse_fuji_compressed_header(); parse_fuji_compressed_header();
} }

View File

@ -21,7 +21,8 @@
#include <iostream> #include <iostream>
#include <cstring> #include <cstring>
#ifdef WIN32 #ifdef _WIN32_WINNT
#undef _WIN32_WINNT
#define _WIN32_WINNT 0x0600 #define _WIN32_WINNT 0x0600
#include <windows.h> #include <windows.h>
#endif #endif