summaryrefslogtreecommitdiff
path: root/graphics/asymptote/path.h
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2021-03-16 03:01:13 +0000
committerNorbert Preining <norbert@preining.info>2021-03-16 03:01:13 +0000
commit4947a16af6c8e33f697a8da222db7f3ad027ba94 (patch)
tree3eee9fd60fecc17e213ff42c404f538ae850f934 /graphics/asymptote/path.h
parent36607734949d1736c36ed7b9f3a12a74d7a8ce86 (diff)
CTAN sync 202103160301
Diffstat (limited to 'graphics/asymptote/path.h')
-rw-r--r--graphics/asymptote/path.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/graphics/asymptote/path.h b/graphics/asymptote/path.h
index 107c663a11..75d5507093 100644
--- a/graphics/asymptote/path.h
+++ b/graphics/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;
}