Descriptionlibdisasm: 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
Committed: https://chromium.googlesource.com/breakpad/breakpad/+/104784d8e42a22acadbfa69a55a7f3e0510f8a61
Patch Set 1 #
Total comments: 1
Messages
Total messages: 10 (4 generated)
|