diff options
author | Nathan Bossart <nathan@postgresql.org> | 2024-10-15 16:20:49 -0500 |
---|---|---|
committer | Nathan Bossart <nathan@postgresql.org> | 2024-10-15 16:20:49 -0500 |
commit | d5ca15ee54bf7faf038a38408e8adec971740966 (patch) | |
tree | 882241f9af7c88df7b6245f225d7ffccae3e918d /src/backend/parser/parse_expr.c | |
parent | 2453196107de66cff0257feef2ff8585dcf9d924 (diff) | |
download | postgresql-d5ca15ee54bf7faf038a38408e8adec971740966.tar.gz postgresql-d5ca15ee54bf7faf038a38408e8adec971740966.zip |
Add type cast to foreach_internal's loop variable.
C++ requires explicitly casting void pointers to the appropriate
pointer type, which means the foreach_ptr macro cannot be used in
C++ code without this change.
Author: Jelte Fennema-Nio
Reviewed-by: Bruce Momjian
Discussion: https://postgr.es/m/CAGECzQSYG3QfHrc-rOk2KbnB9iJOd7Qu-Xii1s-GTA%3D3JFt49Q%40mail.gmail.com
Backpatch-through: 17
Diffstat (limited to 'src/backend/parser/parse_expr.c')
0 files changed, 0 insertions, 0 deletions