diff options
author | emaste <emaste@FreeBSD.org> | 2015-07-03 16:57:06 +0000 |
---|---|---|
committer | emaste <emaste@FreeBSD.org> | 2015-07-03 16:57:06 +0000 |
commit | 8037fa4ee916fa20b3c63cbf531f4ee7e1c76138 (patch) | |
tree | 3c2e41c3be19b7fc7666ed45a5f91ec3b6e35f2a /source/Utility/StringExtractor.cpp | |
parent | d61b076ede88b56f3372a55e7d1eac6a9d717120 (diff) | |
download | FreeBSD-src-8037fa4ee916fa20b3c63cbf531f4ee7e1c76138.zip FreeBSD-src-8037fa4ee916fa20b3c63cbf531f4ee7e1c76138.tar.gz |
Import LLDB as of upstream SVN 241361 (git 612c075f)
Diffstat (limited to 'source/Utility/StringExtractor.cpp')
-rw-r--r-- | source/Utility/StringExtractor.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/Utility/StringExtractor.cpp b/source/Utility/StringExtractor.cpp index a2cbe6c..e82c83d 100644 --- a/source/Utility/StringExtractor.cpp +++ b/source/Utility/StringExtractor.cpp @@ -143,7 +143,7 @@ StringExtractor::GetU32 (uint32_t fail_value, int base) char *end = nullptr; const char *start = m_packet.c_str(); const char *cstr = start + m_index; - uint32_t result = ::strtoul (cstr, &end, base); + uint32_t result = static_cast<uint32_t>(::strtoul (cstr, &end, base)); if (end && end != cstr) { @@ -162,7 +162,7 @@ StringExtractor::GetS32 (int32_t fail_value, int base) char *end = nullptr; const char *start = m_packet.c_str(); const char *cstr = start + m_index; - int32_t result = ::strtol (cstr, &end, base); + int32_t result = static_cast<int32_t>(::strtol (cstr, &end, base)); if (end && end != cstr) { |