• honggyu.kp's avatar
    arm: Fix to pass typed pointer with a cast to %p · 22db799a
    honggyu.kp authored
    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}
    22db799a
disasm-arm.cc 89.4 KB