diff options
author | Stephen Frost <sfrost@snowman.net> | 2017-03-16 00:13:37 -0400 |
---|---|---|
committer | Stephen Frost <sfrost@snowman.net> | 2017-03-16 00:13:37 -0400 |
commit | cccbddeb1483b85f1853a29dc3b6464647b91eee (patch) | |
tree | fac5ca3d0a4840364000da701ca405267adfae57 /contrib/postgres_fdw/deparse.c | |
parent | 7821f7229c6e149046ee0dd8cab57928c4f86a37 (diff) | |
download | postgresql-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/deparse.c')
0 files changed, 0 insertions, 0 deletions