Change uint -> uint32 (because of go1.1 64 bit ints)