]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Remove implicit cast from 'void *'
authorJohn Naylor <john.naylor@postgresql.org>
Wed, 2 Jul 2025 04:51:10 +0000 (11:51 +0700)
committerJohn Naylor <john.naylor@postgresql.org>
Wed, 2 Jul 2025 04:51:53 +0000 (11:51 +0700)
commit3e73d8735371fc20a13fb4b68fc643909749dde0
tree221fe8d1e4ea77c3dfd09386b8ddc12eb26c07a1
parentd09d1379346eac4b3aa45ee92a5a96bd315bfa4b
Remove implicit cast from 'void *'

Commit e2809e3a101 added code to a header which assigns a pointer
to void to a pointer to unsigned char. This causes build errors for
extensions written in C++. Fix by adding an explicit cast.

Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>
Discussion: https://postgr.es/m/CANWCAZaCq9AHBuhs%3DMx7Gg_0Af9oRU7iAqr0itJCtfmsWwVmnQ%40mail.gmail.com
Backpatch-through: 18
src/include/port/pg_crc32c.h