diff options
| author | Peter Eisentraut <peter@eisentraut.org> | 2025-12-03 08:40:33 +0100 |
|---|---|---|
| committer | Peter Eisentraut <peter@eisentraut.org> | 2025-12-03 08:40:33 +0100 |
| commit | 623801b3bdb4e16df39f945b6aa5f109744c7b6b (patch) | |
| tree | aca6681a91d929d42747c6695717a621fad18c8d /contrib/bloom/blutils.c | |
| parent | c252d37d8ca8f254fa715ec24fcb23a035a88993 (diff) | |
Remove useless casts to Pointer
in arguments of memcpy() and memmove() calls
Reviewed-by: Chao Li <li.evan.chao@gmail.com>
Reviewed-by: Bertrand Drouvot <bertranddrouvot.pg@gmail.com>
Discussion: https://www.postgresql.org/message-id/4154950a-47ae-4223-bd01-1235cc50e933%40eisentraut.org
Diffstat (limited to 'contrib/bloom/blutils.c')
| -rw-r--r-- | contrib/bloom/blutils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/bloom/blutils.c b/contrib/bloom/blutils.c index 2c0e71eedc6..bf50037a71a 100644 --- a/contrib/bloom/blutils.c +++ b/contrib/bloom/blutils.c @@ -336,7 +336,7 @@ BloomPageAddItem(BloomState *state, Page page, BloomTuple *tuple) /* Copy new tuple to the end of page */ opaque = BloomPageGetOpaque(page); itup = BloomPageGetTuple(state, page, opaque->maxoff + 1); - memcpy((Pointer) itup, (Pointer) tuple, state->sizeOfBloomTuple); + memcpy(itup, tuple, state->sizeOfBloomTuple); /* Adjust maxoff and pd_lower */ opaque->maxoff++; |
