diff options
author | Evan Cheng <evan.cheng@apple.com> | 2008-05-05 18:30:58 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2008-05-05 18:30:58 +0000 |
commit | 34cd4a484e532cc463fd5a4bf59b88d13c5467c1 (patch) | |
tree | eefdfb1d225da0317e7f7912079c430b5c3ed92c /lib/Support/StringExtras.cpp | |
parent | b61bfdb56e1c018f10a2c1c9fb49d7e2a78ed24e (diff) |
Fix more -Wshorten-64-to-32 warnings.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50659 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/StringExtras.cpp')
-rw-r--r-- | lib/Support/StringExtras.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Support/StringExtras.cpp b/lib/Support/StringExtras.cpp index 1fae4fae48..d403a083d4 100644 --- a/lib/Support/StringExtras.cpp +++ b/lib/Support/StringExtras.cpp @@ -22,7 +22,7 @@ using namespace llvm; /// The Source source string is updated in place to remove the returned string /// and any delimiter prefix from it. std::string llvm::getToken(std::string &Source, const char *Delimiters) { - unsigned NumDelimiters = std::strlen(Delimiters); + size_t NumDelimiters = std::strlen(Delimiters); // Figure out where the token starts. std::string::size_type Start = |