Avoid signed ints, seems to cause clang errors.