Bug: Wrong limit for local variables in 16-bit systems

USHRT_MAX does not fit in an 'int' in 16-bit systems.
2 files changed