diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2022-11-03 10:47:31 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2022-11-03 10:47:31 -0400 |
commit | cf8b7d374ae10c8de389229ff924addc69e6f7df (patch) | |
tree | 4cd9be891600a7eb53b0b536f45745b814fcc63f /src/backend/commands/tablecmds.c | |
parent | 062eef3a9bbd5da9c26c93127ee6272193cb06e6 (diff) | |
download | postgresql-cf8b7d374ae10c8de389229ff924addc69e6f7df.tar.gz postgresql-cf8b7d374ae10c8de389229ff924addc69e6f7df.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/commands/tablecmds.c')
0 files changed, 0 insertions, 0 deletions