OSDN Git Service

Squelch a warning about signed/unsigned.
authorReid Spencer <rspencer@reidspencer.com>
Thu, 8 Jun 2006 18:08:43 +0000 (18:08 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Thu, 8 Jun 2006 18:08:43 +0000 (18:08 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28729 91177308-0d34-0410-b5e6-96231b3b80d8

lib/System/Win32/Path.inc

index 4aab276..f33654e 100644 (file)
@@ -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