Date: Sun, 24 Apr 2016 13:54:48 +0000 (UTC) From: Thomas Zander <riggs@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r413942 - head/audio/taglookup/files Message-ID: <201604241354.u3ODsmKB027894@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: riggs Date: Sun Apr 24 13:54:48 2016 New Revision: 413942 URL: https://svnweb.freebsd.org/changeset/ports/413942 Log: Fix build with libc++ 3.8.0 PR: 208490 Submitted by: dim Approved by: maintainer timeout MFH: 2016Q2 (build fix blanket) Modified: head/audio/taglookup/files/patch-tag.cpp Modified: head/audio/taglookup/files/patch-tag.cpp ============================================================================== --- head/audio/taglookup/files/patch-tag.cpp Sun Apr 24 13:50:53 2016 (r413941) +++ head/audio/taglookup/files/patch-tag.cpp Sun Apr 24 13:54:48 2016 (r413942) @@ -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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201604241354.u3ODsmKB027894>