mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-06-01 09:32:50 +00:00
Fix signed-unsigned compare
This commit is contained in:
committed by
Alessandro Ranellucci
parent
c90ecac48e
commit
7c7982d9f3
@@ -685,7 +685,7 @@ SV*
|
||||
polynode_children_2_perl(const ClipperLib::PolyNode& node)
|
||||
{
|
||||
AV* av = newAV();
|
||||
const unsigned int len = node.ChildCount();
|
||||
const int len = node.ChildCount();
|
||||
if (len > 0) av_extend(av, len-1);
|
||||
for (int i = 0; i < len; ++i) {
|
||||
av_store(av, i, polynode2perl(*node.Childs[i]));
|
||||
|
||||
Reference in New Issue
Block a user