Fix warning in rtengine/rawimage.cc and rtgui/dirbrowser.cc
This commit is contained in:
parent
6171db443f
commit
f9aa67b05e
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user