diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2019-05-31 10:40:00 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2019-05-31 10:40:00 -0400 |
commit | 9e58705a7f9728f10b2e0f0c9adc6e6ecff7486e (patch) | |
tree | 712f87a4e704ea9f0f15752ec24fd4860c2d8847 /src/backend/access/gist/gist.c | |
parent | d22f885f895add7e0184b08a78ba92ff091e36c4 (diff) | |
download | postgresql-9e58705a7f9728f10b2e0f0c9adc6e6ecff7486e.tar.gz |
Make our perfect hash functions be valid C++.
While C is happy to cast "const void *" to "const unsigned char *"
silently, C++ insists on an explicit cast. Since we put these
functions into header files, cpluspluscheck whines about that.
Add the cast to pacify it.
Discussion: https://postgr.es/m/b517ec3918d645eb950505eac8dd434e@gaz-is.ru
Diffstat (limited to 'src/backend/access/gist/gist.c')
0 files changed, 0 insertions, 0 deletions