Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit dd0a0cf

Browse files
committed
Fixed misspelled byteswap function for big endian machines
Per members lora and mamba
1 parent 0aba255 commit dd0a0cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/include/common/hashfn_unstable.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ fasthash_accum_cstring_aligned(fasthash_state *hs, const char *str)
225225
* without either swapping or a bytewise check.
226226
*/
227227
#ifdef WORDS_BIGENDIAN
228-
zero_bytes_le = haszero64(pg_bswap(chunk));
228+
zero_bytes_le = haszero64(pg_bswap64(chunk));
229229
#else
230230
zero_bytes_le = haszero64(chunk);
231231
#endif

0 commit comments

Comments
 (0)