mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-21 06:51:01 +01:00
[hvgl] Fix warning
This commit is contained in:
1 parent
c8d7a55b14
commit
4857c58ec0
1 file changed
+1
-1
@@ -84,7 +84,7 @@ PartShape::get_path_at (const struct hvgl &hvgl,
|
||||
float coord = _.second;
|
||||
bool pos = coord > 0;
|
||||
if (!coord) continue;
|
||||
double scalar = (double) fabs(coord);
|
||||
double scalar = (double) fabsf(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