pgsql: Remove useless casts to Pointer

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Remove useless casts to Pointer
Date: 2025-12-03 07:54:07
Message-ID: E1vQhgd-002YfS-0V@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Remove useless casts to Pointer

in arguments of memcpy() and memmove() calls

Reviewed-by: Chao Li <li(dot)evan(dot)chao(at)gmail(dot)com>
Reviewed-by: Bertrand Drouvot <bertranddrouvot(dot)pg(at)gmail(dot)com>
Discussion: https://www.postgresql.org/message-id/4154950a-47ae-4223-bd01-1235cc50e933%40eisentraut.org

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/623801b3bdb4e16df39f945b6aa5f109744c7b6b

Modified Files
--------------
contrib/bloom/blutils.c | 2 +-
contrib/bloom/blvacuum.c | 3 +--
src/backend/access/gin/ginxlog.c | 2 +-
src/backend/utils/adt/multirangetypes.c | 2 +-
4 files changed, 4 insertions(+), 5 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2025-12-03 08:54:41 pgsql: Don't rely on pointer arithmetic with Pointer type
Previous Message Amit Kapila 2025-12-03 03:41:10 pgsql: Fix shadow variable warning in subscriptioncmds.c.