aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistget.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2022-11-03 10:47:31 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2022-11-03 10:47:31 -0400
commit50467082c9d44c1cb7d8fc105f65c37338d9a5a0 (patch)
tree70f98d2467d5e071ef7a176aa6c61d590fe8e3a0 /src/backend/access/gist/gistget.c
parentc479492c04eeec0ae1bce270b2bb21851add8a78 (diff)
downloadpostgresql-50467082c9d44c1cb7d8fc105f65c37338d9a5a0.tar.gz
postgresql-50467082c9d44c1cb7d8fc105f65c37338d9a5a0.zip
Add casts to simplehash.h to silence C++ warnings.
Casting the result of palloc etc. to the intended type is more per project style anyway. (The fact that cpluspluscheck doesn't notice these problems is because it doesn't expand any macros, which seems like a troubling shortcoming. Don't have a good idea about improving that.) Back-patch to v13, which is as far as the patch applies cleanly; doesn't seem worth working harder. David Geier Discussion: https://postgr.es/m/aa5d88a3-71f4-3455-11cf-82de0372c941@gmail.com
Diffstat (limited to 'src/backend/access/gist/gistget.c')
0 files changed, 0 insertions, 0 deletions