Date: Sat, 4 Jul 2020 18:43:31 +0000 (UTC) From: Thierry Thomas <thierry@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r541233 - head/math/suitesparse/files Message-ID: <202007041843.064IhVfg088544@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: thierry Date: Sat Jul 4 18:43:31 2020 New Revision: 541233 URL: https://svnweb.freebsd.org/changeset/ports/541233 Log: Fix an implicit conversion from long to double. PR: 247763 Submitted by: rsmith (at) xs4all.nl Added: head/math/suitesparse/files/ head/math/suitesparse/files/patch-SLIP__LU_Source_slip__internal.h (contents, props changed) Added: head/math/suitesparse/files/patch-SLIP__LU_Source_slip__internal.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/suitesparse/files/patch-SLIP__LU_Source_slip__internal.h Sat Jul 4 18:43:31 2020 (r541233) @@ -0,0 +1,16 @@ +--- SLIP_LU/Source/slip_internal.h.orig 2020-07-03 16:11:39 UTC ++++ SLIP_LU/Source/slip_internal.h +@@ -660,11 +660,11 @@ static inline int64_t slip_cast_double_to_int64 (doubl + { + return (0) ; + } +- else if (x > INT64_MAX) ++ else if (x > (double)INT64_MAX) + { + return (INT64_MAX) ; + } +- else if (x < INT64_MIN) ++ else if (x < (double)INT64_MIN) + { + return (INT64_MIN) ; + }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202007041843.064IhVfg088544>