fasthash32() returning uint64?

Jeff Davis <pgsql@j-davis.com>

From: Jeff Davis <pgsql@j-davis.com>
To: John Naylor <john.naylor@postgresql.org>
Cc: pgsql-hackers@postgresql.org
Date: 2024-04-05T20:47:29Z
Lists: pgsql-hackers
In hashfn_unstable.h, fasthash32() is declared as:

  /* like fasthash64, but returns a 32-bit hashcode */
  static inline uint64
  fasthash32(const char *k, size_t len, uint64 seed)

Is the return type of uint64 a typo?

Regards,
	Jeff Davis




Commits

  1. Fix incorrect return type