Fixed NativeUInt / Integer compatibility problem