Clean up some warnings

This makes the build output length drops from 1500 lines to 300 in MSVC
Aren't `u32` and 'unsigned` the same thing (both `unsigned int`)?