64-bit|Event API|Client|libcommon: Pass symbolic event pointer as a 64-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)
64-bit|Event API|Client|libcommon: Pass symbolic event pointer as a 64-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)