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(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(stream.tellp()) != 0) stream << " "; stream << iter->first << ": " << iter->second; }