Update util.hpp

change several unsigned int => uint for consistency.
Merge pull request #1 from SemiSQ/patch-1

Update util.hpp