From aa6954104644334c53838f181053b9f7aa13f58c Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Tue, 7 Feb 2023 06:53:05 +0100 Subject: Remove useless casts to (void *) in arguments of some system functions The affected functions are: bsearch, memcmp, memcpy, memset, memmove, qsort, repalloc Reviewed-by: Corey Huinker Discussion: https://www.postgresql.org/message-id/flat/fd9adf5d-b1aa-e82f-e4c7-263c30145807%40enterprisedb.com --- contrib/intarray/_int_tool.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'contrib/intarray/_int_tool.c') diff --git a/contrib/intarray/_int_tool.c b/contrib/intarray/_int_tool.c index 5ab6eb81e8d..68f624e085c 100644 --- a/contrib/intarray/_int_tool.c +++ b/contrib/intarray/_int_tool.c @@ -212,7 +212,7 @@ isort(int32 *a, int len) { bool r = false; - qsort_arg(a, len, sizeof(int32), isort_cmp, (void *) &r); + qsort_arg(a, len, sizeof(int32), isort_cmp, &r); return r; } -- cgit v1.2.3