diff options
| author | Peter Eisentraut <peter@eisentraut.org> | 2025-12-04 20:44:52 +0100 |
|---|---|---|
| committer | Peter Eisentraut <peter@eisentraut.org> | 2025-12-04 20:44:52 +0100 |
| commit | e158fd4d68f44d0872c1d2053067fe306cc9d2b2 (patch) | |
| tree | eade5f458b0c59258a5bcb2e69d1f225344598e4 /contrib/amcheck/verify_gin.c | |
| parent | c6be3daa054a2fac67331f3bfc348b9bfd6f690c (diff) | |
Remove no longer needed casts from Pointer
These casts used to be required when Pointer was char *, but now it's
void * (commit 1b2bb5077e9), so they are not needed anymore.
Author: Dagfinn Ilmari Mannsåker <ilmari@ilmari.org>
Discussion: https://www.postgresql.org/message-id/4154950a-47ae-4223-bd01-1235cc50e933%40eisentraut.org
Diffstat (limited to 'contrib/amcheck/verify_gin.c')
| -rw-r--r-- | contrib/amcheck/verify_gin.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/amcheck/verify_gin.c b/contrib/amcheck/verify_gin.c index 5c3eb4d0fd4..efc56227568 100644 --- a/contrib/amcheck/verify_gin.c +++ b/contrib/amcheck/verify_gin.c @@ -107,7 +107,7 @@ ginReadTupleWithoutState(IndexTuple itup, int *nitems) { if (nipd > 0) { - ipd = ginPostingListDecode((GinPostingList *) ptr, &ndecoded); + ipd = ginPostingListDecode(ptr, &ndecoded); if (nipd != ndecoded) elog(ERROR, "number of items mismatch in GIN entry tuple, %d in tuple header, %d decoded", nipd, ndecoded); |
