Get the min call to compile

The issue is that std::min expects two objects of the same type,
and int and unsigned int are different types.