summaryrefslogtreecommitdiff
path: root/lib/System
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2006-06-08 18:08:43 +0000
committerReid Spencer <rspencer@reidspencer.com>2006-06-08 18:08:43 +0000
commitab4d9b044659481351f3b17d70429230b8c3ff17 (patch)
treef4a029bcad82684064043e4ad2842550f1bf6106 /lib/System
parentc0bad5706eff2dec7304b9266657ffdded0628d9 (diff)
downloadllvm-ab4d9b044659481351f3b17d70429230b8c3ff17.tar.gz
llvm-ab4d9b044659481351f3b17d70429230b8c3ff17.tar.bz2
llvm-ab4d9b044659481351f3b17d70429230b8c3ff17.tar.xz
Squelch a warning about signed/unsigned.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28729 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/System')
-rw-r--r--lib/System/Win32/Path.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/System/Win32/Path.inc b/lib/System/Win32/Path.inc
index 4aab276548..f33654ec8f 100644
--- a/lib/System/Win32/Path.inc
+++ b/lib/System/Win32/Path.inc
@@ -121,7 +121,7 @@ Path::GetTemporaryDirectory() {
// Append a subdirectory passed on our process id so multiple LLVMs don't
// step on each other's toes.
- sprintf(pathname, "LLVM_%u", GetCurrentProcessId());
+ sprintf(pathname, "LLVM_%u", unsigned(GetCurrentProcessId()));
result.appendComponent(pathname);
// If there's a directory left over from a previous LLVM execution that