Fix compilation warning about comparing signed and unsigned integers
Fix compilation warning about comparing signed and unsigned integers

Found during work on CURA-7874.

Ultimaker/CuraEngine,Ultimaker/CuraEngine