Initially, the function expected a "UINT". During the call to the function, you attempted to pass an array, which is actually an address, when the function expected an integer but got an address instead. Of course, this type of conversion is not made implicitly by the compiler and must be explicitly requested.