Fixed misspelled byteswap function for big endian machines

Per members lora and mamba
pull/152/head
John Naylor 2 years ago
parent 0aba255440
commit dd0a0cfc81
  1. 2
      src/include/common/hashfn_unstable.h

@ -225,7 +225,7 @@ fasthash_accum_cstring_aligned(fasthash_state *hs, const char *str)
* without either swapping or a bytewise check.
*/
#ifdef WORDS_BIGENDIAN
zero_bytes_le = haszero64(pg_bswap(chunk));
zero_bytes_le = haszero64(pg_bswap64(chunk));
#else
zero_bytes_le = haszero64(chunk);
#endif

Loading…
Cancel
Save