pgsql: Fix incorrect return type

From: John Naylor <john(dot)naylor(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix incorrect return type
Date: 2024-04-06 05:21:21
Message-ID: E1rsyUT-000l5b-0E@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix incorrect return type

fasthash32() calculates a 32-bit hashcode, but the return
type was uint64. Change to uint32.

Noted by Jeff Davis

Discussion: https://postgr.es/m/b16c93e6c736a422d4de668343515375664eb05d.camel%40j-davis.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/4b968e2027ba46b31be0a648486f86a2cadc707d

Modified Files
--------------
src/include/common/hashfn_unstable.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Thomas Munro 2024-04-06 10:12:50 pgsql: Allow BufferAccessStrategy to limit pin count.
Previous Message Thomas Munro 2024-04-06 05:18:57 pgsql: Improve read_stream.c's fast path.