mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-30 10:04:24 +01:00
[hvgl] Fix a warning
This commit is contained in:
1 parent
9817fa9947
commit
8176a3a885
1 file changed
+1
-1
@@ -81,7 +81,7 @@ PartShape::get_path_at (const struct hvgl &hvgl,
|
||||
float coord = _.second;
|
||||
bool pos = coord > 0;
|
||||
if (!coord) continue;
|
||||
double scalar = fabs(coord);
|
||||
double scalar = (double) fabs(coord);
|
||||
unsigned column_idx = axis_index * 2 + pos;
|
||||
|
||||
const auto delta = deltas.get_column (column_idx, axisCount, segmentCount);
|
||||
|
||||
Reference in new issue
Block a user