mirror of
https://git.suyu.dev/suyu/breakpad.git
synced 2026-01-09 07:58:24 +01:00
Mac: Fix more errors from clang to get crash_report.xcodeproj close to compiling.
R=mark@chromium.org Review URL: https://breakpad.appspot.com/593002 git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1176 4c0a9323-5329-0410-9bdc-e9ce6186880e
This commit is contained in:
parent
7304a2c187
commit
09f8989389
4 changed files with 7 additions and 5 deletions
2
src/third_party/libdisasm/x86_disasm.c
vendored
2
src/third_party/libdisasm/x86_disasm.c
vendored
|
|
@ -165,7 +165,7 @@ unsigned int x86_disasm_forward( unsigned char *buf, unsigned int buf_len,
|
|||
if (next_addr != -1 ) {
|
||||
next_offset = next_addr - buf_rva;
|
||||
/* if offset is in this buffer... */
|
||||
if ( next_addr >= buf_rva &&
|
||||
if ( (uint32_t)next_addr >= buf_rva &&
|
||||
next_offset < buf_len ) {
|
||||
/* go ahead and disassemble */
|
||||
count += x86_disasm_forward( buf,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue