Change arg type to unsigned int from signed int (#1078)

* Change arg type to unsigned int from signed int

* Fix formatting issues
3 files changed