diff options
author | riggs <riggs@FreeBSD.org> | 2016-04-24 21:54:48 +0800 |
---|---|---|
committer | riggs <riggs@FreeBSD.org> | 2016-04-24 21:54:48 +0800 |
commit | 82c1fd11c30b3fdcc428e0aed7b253b1008a6cd3 (patch) | |
tree | cb62db6e8d7931a5d7978ca12b949326d4a0e264 /audio | |
parent | 5af8cf00763b1636356a54400c40564105803166 (diff) | |
download | freebsd-ports-gnome-82c1fd11c30b3fdcc428e0aed7b253b1008a6cd3.tar.gz freebsd-ports-gnome-82c1fd11c30b3fdcc428e0aed7b253b1008a6cd3.tar.zst freebsd-ports-gnome-82c1fd11c30b3fdcc428e0aed7b253b1008a6cd3.zip |
Fix build with libc++ 3.8.0
PR: 208490
Submitted by: dim
Approved by: maintainer timeout
MFH: 2016Q2 (build fix blanket)
Diffstat (limited to 'audio')
-rw-r--r-- | audio/taglookup/files/patch-tag.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/audio/taglookup/files/patch-tag.cpp b/audio/taglookup/files/patch-tag.cpp index e76444ce7682..1a74178d794e 100644 --- a/audio/taglookup/files/patch-tag.cpp +++ b/audio/taglookup/files/patch-tag.cpp @@ -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; |