The currently generated schemas for NonNegativeIntegerParameter and StrictlyPositiveIntegerParameter take their maximum values from INT_MAX, but as we don't allow negative values for either, we are basically not using half the unsigned 32-bit space. The schemas should be changed to define their maximums as UINT_MAX rather than INT_MAX.
The currently generated schemas for NonNegativeIntegerParameter and StrictlyPositiveIntegerParameter take their maximum values from
INT_MAX
, but as we don't allow negative values for either, we are basically not using half the unsigned 32-bit space. The schemas should be changed to define their maximums asUINT_MAX
rather thanINT_MAX
.