summaryrefslogtreecommitdiffstats
path: root/compiler/dwarf/debug_frame_writer.h
diff options
context:
space:
mode:
authorDavid Srbecky <dsrbecky@google.com>2015-04-09 19:39:53 +0100
committerDavid Srbecky <dsrbecky@google.com>2015-04-09 19:39:53 +0100
commitb952ac3874ec19e6d4278795e86aa0e2161857c5 (patch)
treedf7e0796c9028e5a23ba04abb09f0efd35249818 /compiler/dwarf/debug_frame_writer.h
parent917f0866f66d3465fa41ddcf9ab09eba2fa78dd3 (diff)
downloadart-b952ac3874ec19e6d4278795e86aa0e2161857c5.zip
art-b952ac3874ec19e6d4278795e86aa0e2161857c5.tar.gz
art-b952ac3874ec19e6d4278795e86aa0e2161857c5.tar.bz2
Fix Mac compile error in debug_frame_writer.h
Change-Id: I1c5723348011570425cbe5cc1627cd9872020beb
Diffstat (limited to 'compiler/dwarf/debug_frame_writer.h')
-rw-r--r--compiler/dwarf/debug_frame_writer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/dwarf/debug_frame_writer.h b/compiler/dwarf/debug_frame_writer.h
index b104cc9..3502906 100644
--- a/compiler/dwarf/debug_frame_writer.h
+++ b/compiler/dwarf/debug_frame_writer.h
@@ -80,7 +80,7 @@ class DebugFrameWriter FINAL : private Writer<Allocator> {
this->PushUint64(this->data()->size() - cie_header_start_); // 'CIE_pointer'
} else {
this->PushUint32(0); // Length placeholder.
- this->PushUint32(this->data()->size() - cie_header_start_); // 'CIE_pointer'
+ this->PushUint32(static_cast<uint32_t>(this->data()->size() - cie_header_start_)); // 'CIE_pointer'
}
if (use_64bit_address_) {
this->PushUint64(initial_address);