aboutsummaryrefslogtreecommitdiff
path: root/source/Target/PathMappingList.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/Target/PathMappingList.cpp')
-rw-r--r--source/Target/PathMappingList.cpp4
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());
}