DescriptionFix format string to handle pointers correctly.
I chose to use %Id and a cast rather than %p in order to continue
printing as decimal -- %p typically prints as hex.
%Id is not portable, but this is Windows only code and %zd is not yet
supported in VC++.
BUG=427616
Committed: https://crrev.com/447ac5e77775c03acb6513e69c05ba1e6aceab47
Cr-Commit-Position: refs/heads/master@{#307156}
Patch Set 1 #Patch Set 2 : Change from static_cast to reinterpret_cast. #Messages
Total messages: 13 (4 generated)
|