mirror of
https://github.com/postgres/postgres.git
synced 2025-04-29 13:56:47 +03:00
Fixed misspelled byteswap function for big endian machines
Per members lora and mamba
This commit is contained in:
parent
0aba255440
commit
dd0a0cfc81
@ -225,7 +225,7 @@ fasthash_accum_cstring_aligned(fasthash_state *hs, const char *str)
|
|||||||
* without either swapping or a bytewise check.
|
* without either swapping or a bytewise check.
|
||||||
*/
|
*/
|
||||||
#ifdef WORDS_BIGENDIAN
|
#ifdef WORDS_BIGENDIAN
|
||||||
zero_bytes_le = haszero64(pg_bswap(chunk));
|
zero_bytes_le = haszero64(pg_bswap64(chunk));
|
||||||
#else
|
#else
|
||||||
zero_bytes_le = haszero64(chunk);
|
zero_bytes_le = haszero64(chunk);
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user