diff options
author | Karl Berry <karl@freefriends.org> | 2021-02-25 22:47:34 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2021-02-25 22:47:34 +0000 |
commit | 462babfedcf66c30ea388c815156298a5c39ebf6 (patch) | |
tree | 5971470113fe3fd7170a580b46f81ef9ab862b73 /Build/source/utils/asymptote/path.h | |
parent | 5cb64616be8bf599f2f0243c1590d8f96cdcdf99 (diff) |
compiler warning patch https://github.com/vectorgraphics/asymptote/commit/71d0b51bf94cf78cba1d893ce592fcfd9fc4e628.patch
git-svn-id: svn://tug.org/texlive/trunk@57926 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/utils/asymptote/path.h')
-rw-r--r-- | Build/source/utils/asymptote/path.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Build/source/utils/asymptote/path.h b/Build/source/utils/asymptote/path.h index 107c663a11d..75d55070935 100644 --- a/Build/source/utils/asymptote/path.h +++ b/Build/source/utils/asymptote/path.h @@ -19,8 +19,8 @@ #include "bbox.h" inline double Intcap(double t) { - if(t <= Int_MIN) return Int_MIN; - if(t >= Int_MAX) return Int_MAX; + if(t <= (double) Int_MIN) return (double) Int_MIN; + if(t >= (double) Int_MAX) return (double) Int_MAX; return t; } |