Fix 'min' build issues by defining correct type of param