summaryrefslogtreecommitdiffstats
path: root/lldb/source/Utility/StringExtractor.h
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/Utility/StringExtractor.h')
-rw-r--r--lldb/source/Utility/StringExtractor.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/lldb/source/Utility/StringExtractor.h b/lldb/source/Utility/StringExtractor.h
index 73f0117d813..df4a97aedf5 100644
--- a/lldb/source/Utility/StringExtractor.h
+++ b/lldb/source/Utility/StringExtractor.h
@@ -45,10 +45,10 @@ public:
bool
IsGood() const
{
- return m_index != UINT32_MAX;
+ return m_index != UINT64_MAX;
}
- uint32_t
+ uint64_t
GetFilePos () const
{
return m_index;
@@ -79,7 +79,7 @@ public:
return m_packet.empty();
}
- uint32_t
+ size_t
GetBytesLeft ()
{
if (m_index < m_packet.size())
@@ -126,9 +126,9 @@ protected:
// For StringExtractor only
//------------------------------------------------------------------
std::string m_packet; // The string in which to extract data.
- uint32_t m_index; // When extracting data from a packet, this index
+ uint64_t m_index; // When extracting data from a packet, this index
// will march along as things get extracted. If set
- // to UINT32_MAX the end of the packet data was
+ // to UINT64_MAX the end of the packet data was
// reached when decoding information
};
OpenPOWER on IntegriCloud