aboutsummaryrefslogtreecommitdiffstats
path: root/lib/System/Unix/Program.inc
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2008-05-05 18:30:58 +0000
committerEvan Cheng <evan.cheng@apple.com>2008-05-05 18:30:58 +0000
commit591bfc8aa66d4d415be0d947e2764bcc9f5e25b7 (patch)
treeeefdfb1d225da0317e7f7912079c430b5c3ed92c /lib/System/Unix/Program.inc
parentd2dcb090a5db3cf20f4b74cc5c31424f758a7fa6 (diff)
downloadexternal_llvm-591bfc8aa66d4d415be0d947e2764bcc9f5e25b7.tar.gz
external_llvm-591bfc8aa66d4d415be0d947e2764bcc9f5e25b7.tar.bz2
external_llvm-591bfc8aa66d4d415be0d947e2764bcc9f5e25b7.zip
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/System/Unix/Program.inc')
-rw-r--r--lib/System/Unix/Program.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/System/Unix/Program.inc b/lib/System/Unix/Program.inc
index 91baefb329..d0dade1f8c 100644
--- a/lib/System/Unix/Program.inc
+++ b/lib/System/Unix/Program.inc
@@ -58,7 +58,7 @@ Program::FindProgramByName(const std::string& progName) {
return Path();
// Now we have a colon separated list of directories to search; try them.
- unsigned PathLen = strlen(PathStr);
+ size_t PathLen = strlen(PathStr);
while (PathLen) {
// Find the first colon...
const char *Colon = std::find(PathStr, PathStr+PathLen, ':');