diff options
author | Ed Maste <emaste@FreeBSD.org> | 2014-11-25 21:00:58 +0000 |
---|---|---|
committer | Ed Maste <emaste@FreeBSD.org> | 2014-11-25 21:00:58 +0000 |
commit | 0cac4ca3916ac24ab6139d03cbfd18db9e715bfe (patch) | |
tree | c94307da318be46e5aeea1a325c1e91749506e4f /source/Target/PathMappingList.cpp | |
parent | 03b99097822ca3ac69252d9afae716a584ed56c4 (diff) |
Notes
Diffstat (limited to 'source/Target/PathMappingList.cpp')
-rw-r--r-- | source/Target/PathMappingList.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/Target/PathMappingList.cpp b/source/Target/PathMappingList.cpp index db23a0b27130..2fd517829b8c 100644 --- a/source/Target/PathMappingList.cpp +++ b/source/Target/PathMappingList.cpp @@ -132,7 +132,7 @@ PathMappingList::Replace (const ConstString &path, } bool -PathMappingList::Remove (off_t index, bool notify) +PathMappingList::Remove (size_t index, bool notify) { if (index >= m_pairs.size()) return false; @@ -161,7 +161,7 @@ PathMappingList::Dump (Stream *s, int pair_index) } else { - if (pair_index < numPairs) + if (static_cast<unsigned int>(pair_index) < numPairs) s->Printf("%s -> %s", m_pairs[pair_index].first.GetCString(), m_pairs[pair_index].second.GetCString()); } |