aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/processor/cfi_frame_info.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/processor/cfi_frame_info.cc b/src/processor/cfi_frame_info.cc
index 668bdeb8..135eee21 100644
--- a/src/processor/cfi_frame_info.cc
+++ b/src/processor/cfi_frame_info.cc
@@ -102,14 +102,14 @@ string CFIFrameInfo::Serialize() const {
stream << ".cfa: " << cfa_rule_;
}
if (!ra_rule_.empty()) {
- if (stream.tellp() != 0)
+ if (static_cast<std::streamoff>(stream.tellp()) != 0)
stream << " ";
stream << ".ra: " << ra_rule_;
}
for (RuleMap::const_iterator iter = register_rules_.begin();
iter != register_rules_.end();
++iter) {
- if (stream.tellp() != 0)
+ if (static_cast<std::streamoff>(stream.tellp()) != 0)
stream << " ";
stream << iter->first << ": " << iter->second;
}