summaryrefslogtreecommitdiff
path: root/base/gxpath.c
diff options
context:
space:
mode:
authorRobin Watts <Robin.Watts@artifex.com>2022-06-09 19:43:43 +0100
committerRobin Watts <Robin.Watts@artifex.com>2022-10-21 16:21:58 +0100
commit7e4afd565968a4b98f84e7e986fdeb4ff98760ff (patch)
tree9fbbdb872634238541614c7157313775b869eaf3 /base/gxpath.c
parent4eec9e06d26892a79b280228a3babcb1d731db39 (diff)
downloadghostpdl-7e4afd565968a4b98f84e7e986fdeb4ff98760ff.tar.gz
Init path bbox using fixed, not int.
The rect is supposed to use fixeds not ints, so don't rely on them being broadly interchangeable.
Diffstat (limited to 'base/gxpath.c')
-rw-r--r--base/gxpath.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/base/gxpath.c b/base/gxpath.c
index e700729b8..994843b8e 100644
--- a/base/gxpath.c
+++ b/base/gxpath.c
@@ -111,10 +111,10 @@ gx_path_init_contents(gx_path * ppath)
ppath->bbox_set = 0;
ppath->bbox_accurate = 0;
ppath->last_charpath_segment = 0;
- ppath->bbox.p.x = max_int;
- ppath->bbox.p.y = max_int;
- ppath->bbox.q.x = min_int;
- ppath->bbox.q.y = min_int;
+ ppath->bbox.p.x = max_fixed;
+ ppath->bbox.p.y = max_fixed;
+ ppath->bbox.q.x = min_fixed;
+ ppath->bbox.q.y = min_fixed;
}
/*