Use positive values since the value type is unsigned. Fixes a warning on the