From fe5bcec277a0336d69b98d44aefdef7bb22aae9d Mon Sep 17 00:00:00 2001 From: jaco Date: Fri, 25 Jul 2014 17:22:38 +0200 Subject: [PATCH] mac new compiling error fixed --- modules/saliency/src/BING/kyheader.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/saliency/src/BING/kyheader.h b/modules/saliency/src/BING/kyheader.h index 2c789ea1d..2e683fe32 100644 --- a/modules/saliency/src/BING/kyheader.h +++ b/modules/saliency/src/BING/kyheader.h @@ -129,7 +129,7 @@ static inline int findFromList( const T &word, const vector &strList ) { vector::iterator index = std::distance( strList.begin(), it ); //cout << "index" <<" "<< index << endl; - return index; + return int(index); } } /*template