Content-Length: 257197 | pFad | http://github.com/postgrespro/postgres/commit/dd0a0cfc81fecacf2aed41b9eb138f850e43aab6

48 Fixed misspelled byteswap function for big endian machines · postgrespro/postgres@dd0a0cf · GitHub
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

Lines changed: 1 addition & 1 deletion
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/dd0a0cfc81fecacf2aed41b9eb138f850e43aab6

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy