aboutsummaryrefslogtreecommitdiff
path: root/contrib/postgres_fdw/postgres_fdw.h
diff options
context:
space:
mode:
authorStephen Frost <sfrost@snowman.net>2017-03-16 00:13:37 -0400
committerStephen Frost <sfrost@snowman.net>2017-03-16 00:13:37 -0400
commitcccbddeb1483b85f1853a29dc3b6464647b91eee (patch)
treefac5ca3d0a4840364000da701ca405267adfae57 /contrib/postgres_fdw/postgres_fdw.h
parent7821f7229c6e149046ee0dd8cab57928c4f86a37 (diff)
downloadpostgresql-cccbddeb1483b85f1853a29dc3b6464647b91eee.tar.gz
postgresql-cccbddeb1483b85f1853a29dc3b6464647b91eee.zip
Be more careful about signed vs. unsigned char
The buildfarm has reminded me that not all systems consider char to be signed and we need to be explicit. Adjust the various bits of mac8.c for what we intend, mostly using casts to unsigned char as suggested by Tom, and adjust the tests for valid input accordingly. Explicitly make the hexlookup table signed as it's useful to use -1 there to indicate an invalid value.
Diffstat (limited to 'contrib/postgres_fdw/postgres_fdw.h')
0 files changed, 0 insertions, 0 deletions