As SQL uses exact-width integer types, using native C ints may cause portability issues - this PR rewrites such occurences.
Note that this currently causes warnings in test suite.
They are not errors (only hint at usage of inappropriate type) but probably should be fixed.
EDIT:
After review, this PR scope changed - native C ints are not arbitrary, but are explicitly specified in underlying C library, so this PR will be limited to highlighting that fact.
As SQL uses exact-width integer types, using native C ints may cause portability issues - this PR rewrites such occurences.
Note that this currently causes warnings in test suite. They are not errors (only hint at usage of inappropriate type) but probably should be fixed.
EDIT: After review, this PR scope changed - native C ints are not arbitrary, but are explicitly specified in underlying C library, so this PR will be limited to highlighting that fact.