seznam / SuperiorMySqlpp

SuperiorMySQL++
GNU Lesser General Public License v3.0
31 stars 20 forks source link

Fix exact int types #68

Closed OpatrilPeter closed 5 years ago

OpatrilPeter commented 6 years ago

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.