Skip to content

Commit 53622e8

Browse files
author
zhangjipeng
committed
fix: fix win32 build error
Signed-off-by: zhangjipeng <zhangjipeng@xiaomi.com>
1 parent e3799b8 commit 53622e8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ext/svg/psx_svg_player.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3563,7 +3563,7 @@ static void _motion_arc_build(const _motion_path_points* pts, _motion_arc_table*
35633563

35643564
out->cum_lengths[0] = 0.0f;
35653565

3566-
for (int32_t i = 1; i < pts->count; i++) {
3566+
for (uint32_t i = 1; i < pts->count; i++) {
35673567
float dx = pts->xy[i * 2] - pts->xy[(i - 1) * 2];
35683568
float dy = pts->xy[i * 2 + 1] - pts->xy[(i - 1) * 2 + 1];
35693569
float seg_len = sqrtf(dx * dx + dy * dy);

0 commit comments

Comments
 (0)