aboutsummaryrefslogtreecommitdiff
path: root/src/third_party
diff options
context:
space:
mode:
authorthestig@chromium.org <thestig@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e>2013-05-08 20:24:03 +0000
committerthestig@chromium.org <thestig@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e>2013-05-08 20:24:03 +0000
commit09f89893894fea2ebc9bdf6ba6ab15b831ec6cc3 (patch)
tree46660618a42d3b805017ecbba307edf1b0b9e965 /src/third_party
parentFix mac dump_syms after r1163. (diff)
downloadbreakpad-09f89893894fea2ebc9bdf6ba6ab15b831ec6cc3.tar.xz
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
Diffstat (limited to 'src/third_party')
-rw-r--r--src/third_party/libdisasm/x86_disasm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/third_party/libdisasm/x86_disasm.c b/src/third_party/libdisasm/x86_disasm.c
index d6b7f810..51a213a4 100644
--- a/src/third_party/libdisasm/x86_disasm.c
+++ b/src/third_party/libdisasm/x86_disasm.c
@@ -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,