summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author David Srbecky <dsrbecky@google.com> 2015-04-09 19:00:44 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2015-04-09 19:00:45 +0000
commit9f28d79082c85ea91ce96af97fa3206f1c0d97f7 (patch)
tree450c2f7d055c9239d048f042f065c97a42a8439c
parent3b7b6cc6f26f1fffbad47a7279525198f4e22652 (diff)
parentb952ac3874ec19e6d4278795e86aa0e2161857c5 (diff)
Merge "Fix Mac compile error in 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 b104cc9408..3502906f59 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);