[llvm-commits] CVS: llvm/lib/System/Win32/Path.inc

Reid Spencer reid at x10sys.com
Thu Jun 8 11:08:57 PDT 2006



Changes in directory llvm/lib/System/Win32:

Path.inc updated: 1.44 -> 1.45
---
Log message:

Squelch a warning about signed/unsigned.


---
Diffs of the changes:  (+1 -1)

 Path.inc |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/lib/System/Win32/Path.inc
diff -u llvm/lib/System/Win32/Path.inc:1.44 llvm/lib/System/Win32/Path.inc:1.45
--- llvm/lib/System/Win32/Path.inc:1.44	Thu Jun  8 12:00:08 2006
+++ llvm/lib/System/Win32/Path.inc	Thu Jun  8 13:08:43 2006
@@ -121,7 +121,7 @@
 
   // 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






More information about the llvm-commits mailing list