Minor clang warning fixes

This commit is contained in:
torger
2014-03-21 12:13:41 +01:00
parent 5118a0a094
commit c8117e54ef
2 changed files with 2 additions and 2 deletions

View File

@@ -974,7 +974,7 @@ int RawImageSource::load (Glib::ustring fname, bool batch) {
plistener=NULL; // This must be reset, because only load() is called through progressConnector
t2.set();
if( settings->verbose )
printf("Load %s: %d <EFBFBD>sec\n",fname.c_str(), t2.etime(t1));
printf("Load %s: %d usec\n",fname.c_str(), t2.etime(t1));
return 0; // OK!
}

View File

@@ -1478,7 +1478,7 @@ void FileBrowser::openPrevImage () {
if (selected[0]->thumbnail->getFileName()==fd[i]->filename) {// located 1-st image in current selection
if (i>0 && tbl) {
// find the first not-filtered-out (previous) image
for (size_t k=i-1; k>=0; k--){
for (ssize_t k=(ssize_t)i-1; k>=0; k--){
if (!fd[k]->filtered/*checkFilter (fd[k])*/){
// clear current selection
for (size_t j=0; j<selected.size(); j++)