Fix compilation warning of narrowing from int to uint
Fix compilation warning of narrowing from int to uint

If it starts off as a unsigned int it won't need to do that.
Apparently this is an error in Apple-Clang. Let's hope this solves that.

Ultimaker/CuraEngine,Ultimaker/CuraEngine