Fix more -Wshorten-64-to-32 warnings.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50659 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Evan Cheng
2008-05-05 18:30:58 +00:00
parent b61bfdb56e
commit 34cd4a484e
55 changed files with 225 additions and 186 deletions

View File

@ -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 =