aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 4aab276..f33654e 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