unsigned ints as parameter to function