Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
64-bit|Event API|Client|libcommon: Pass symbolic event pointer as a 6…
…4-bit number Debugging shows that under some circumstances, the pointer's most significant four bytes were all 0xff. This hints that when converting from signed 32-bit to unsigned 64-bit, one should have manually cleared the top bytes. An anonymous union is more elegant and ensures that the intended behavior occurs. (-O3, Apple LLVM version 6.1.0 (clang-602.0.49) 64-bit)
- Loading branch information
Showing
3 changed files
with
11 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters