mirror of
https://git.suyu.dev/suyu/breakpad.git
synced 2026-03-24 16:48:43 +00: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:
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,
|
||||
|
||||
Reference in New Issue
Block a user