Descriptionarm: Fix to pass typed pointer with a cast to %p
This patch fixes the below compilation error with a static_cast.
../src/arm/disasm-arm.cc:689:72:
error: format specifies type 'void *' but the argument has type
'v8::internal::byte *' (aka 'unsigned char *') [-Werror,-Wformat-pedantic]
out_buffer_pos_ += SNPrintF(out_buffer_ + out_buffer_pos_, "%p", addr);
R=yangguo@chromium.org
Review-Url: https://codereview.chromium.org/2900663002
Cr-Commit-Position: refs/heads/master@{#45457}
Committed: https://chromium.googlesource.com/v8/v8/+/22db799a92919060338745037495aebbc62611bc
Patch Set 1 #
Messages
Total messages: 9 (4 generated)
|