aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist
diff options
context:
space:
mode:
authorAndrew Gierth <rhodiumtoad@postgresql.org>2019-02-20 21:31:02 +0000
committerAndrew Gierth <rhodiumtoad@postgresql.org>2019-02-20 21:31:02 +0000
commitd26a810ebf9e419556a60bdc0a4190883c38f4c4 (patch)
tree1d9939773ab15d95620507f8af2b80c0c74aeedf /src/backend/access/gist
parente04a3905e4f2e93bbd8fca08c3baeed7b15a48cf (diff)
downloadpostgresql-d26a810ebf9e419556a60bdc0a4190883c38f4c4.tar.gz
postgresql-d26a810ebf9e419556a60bdc0a4190883c38f4c4.zip
Use an unsigned char for bool if we don't use the native bool.
On (rare) platforms where sizeof(bool) > 1, we need to use our own bool, but imported c99 code (such as Ryu) may want to use bool values as array subscripts, which elicits warnings if bool is defined as char. Using unsigned char instead should work just as well for our purposes, and avoid such warnings. Per buildfarm members prariedog and locust.
Diffstat (limited to 'src/backend/access/gist')
0 files changed, 0 insertions, 0 deletions