Skip to content

Commit

Permalink
Fix Read1To3 on big Endian
Browse files Browse the repository at this point in the history
  • Loading branch information
miladfarca committed Feb 15, 2023
1 parent b540445 commit 32794f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion absl/hash/internal/hash.h
Original file line number Diff line number Diff line change
Expand Up @@ -1083,7 +1083,7 @@ class ABSL_DLL MixingHashState : public HashStateBase<MixingHashState> {
unsigned char significant0 = mem0;
#else
unsigned char significant2 = mem0;
unsigned char significant1 = mem1;
unsigned char significant1 = len == 2 ? mem0 : mem1;
unsigned char significant0 = mem2;
#endif
return static_cast<uint32_t>(significant0 | //
Expand Down

0 comments on commit 32794f0

Please sign in to comment.