summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorThomas Zander <riggs@FreeBSD.org>2016-04-24 13:54:48 +0000
committerThomas Zander <riggs@FreeBSD.org>2016-04-24 13:54:48 +0000
commit9afc30aa6172430a2ae17d8ad27d59bdf1bcf9e2 (patch)
treecb62db6e8d7931a5d7978ca12b949326d4a0e264 /audio
parentftp/libftpzilla: set USES=iconv:wchar_t after last commit (diff)
Fix build with libc++ 3.8.0
PR: 208490 Submitted by: dim Approved by: maintainer timeout MFH: 2016Q2 (build fix blanket)
Notes
Notes: svn path=/head/; revision=413942
Diffstat (limited to 'audio')
-rw-r--r--audio/taglookup/files/patch-tag.cpp11
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;