diff options
author | Pavel Labath <labath@google.com> | 2016-01-08 12:52:04 -0500 |
---|---|---|
committer | Mark Mentovai <mark@chromium.org> | 2016-01-08 12:52:04 -0500 |
commit | 2dda5fefdc25448cf38f6075206e9c7f761feb90 (patch) | |
tree | 932fc035219b0a61d879c13135ed73d9b89d88dd /src/third_party/libdisasm/swig/perl | |
parent | disassembler_x86: Remove unused include (diff) | |
download | breakpad-2dda5fefdc25448cf38f6075206e9c7f761feb90.tar.xz |
libdisasm: Don't depend on sizeof(void)
Due to operator precedence, the address was first cast to void*
and then incremented, which resulted in an error on windows, as
sizeof(void) is undefined and MSVC takes this seriously. Changing
the precedence to perform the addition first.
R=mark@chromium.org
Review URL: https://codereview.chromium.org/1570843002 .
Patch from Pavel Labath <labath@google.com>.
Diffstat (limited to 'src/third_party/libdisasm/swig/perl')
0 files changed, 0 insertions, 0 deletions