changed NSInteger to NSUInteger to suppress compiler warnings

### motivation

some of us have requirements for verbose warnings.  

this change fixes 2 NSInteger vs NSUInteger warnings.