Fix build with libc++ 3.8.0

PR:		208490
Submitted by:	dim
Approved by:	maintainer timeout
MFH:		2016Q2 (build fix blanket)
This commit is contained in:
Thomas Zander 2016-04-24 13:54:48 +00:00
parent 59a8989b34
commit 9afc30aa61
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=413942

View File

@ -20,3 +20,14 @@
return new_string;
} // toUTF8String
@@ -166,8 +167,8 @@ namespace TagLookup
bool operator() (const FileRefLengthPair &f1, const FileRefLengthPair &f2)
{
- if( abs(f1.second - x_) <
- abs(f2.second - x_) )
+ if( abs((int)(f1.second - x_)) <
+ abs((int)(f2.second - x_)) )
return true;
else
return false;