Fixed misspelled byteswap function for big endian machines

Per members lora and mamba
This commit is contained in:
John Naylor 2024-01-19 13:26:18 +07:00
parent 0aba255440
commit dd0a0cfc81
1 changed files with 1 additions and 1 deletions

View File

@ -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