Skip to content

Commit

Permalink
Use proper bit function.
Browse files Browse the repository at this point in the history
GitOrigin-RevId: c0254cc33fce40682b8609f5fb73b23a4ab1927b
  • Loading branch information
levlam committed Jun 17, 2020
1 parent 76b5981 commit c1688ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion td/telegram/CallActor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -790,7 +790,7 @@ vector<string> CallActor::get_emojis_fingerprint(const string &key, const string
vector<string> result;
result.reserve(4);
for (int i = 0; i < 4; i++) {
uint64 num = bswap64(as<uint64>(sha256_buf + 8 * i));
uint64 num = big_endian_to_host64(as<uint64>(sha256_buf + 8 * i));
result.push_back(get_emoji_fingerprint(num));
}
return result;
Expand Down

0 comments on commit c1688ca

Please sign in to comment.