Portability fix: 'uint' is nonstandard.
Merge pull request #457 from atgeirr/fix-uint

Portability fix: 'uint' is nonstandard.