summaryrefslogtreecommitdiffstats
path: root/Source/kwsys/ProcessWin32.c
diff options
context:
space:
mode:
authorBill Lorensen <lorensen@crd.ge.com>2008-05-11 02:48:53 (GMT)
committerBill Lorensen <lorensen@crd.ge.com>2008-05-11 02:48:53 (GMT)
commit68dfcefbcb755018ddadfa8bf132114a1b3fa28c (patch)
treeec2603b6260154bb983ada7940bfdde838725087 /Source/kwsys/ProcessWin32.c
parentb837ade9445ff74a5b59239eaa2a65b97256b426 (diff)
downloadCMake-68dfcefbcb755018ddadfa8bf132114a1b3fa28c.zip
CMake-68dfcefbcb755018ddadfa8bf132114a1b3fa28c.tar.gz
CMake-68dfcefbcb755018ddadfa8bf132114a1b3fa28c.tar.bz2
COMP: sprintf warnings. DWORD should use %ld rather than %d. Also, const char *p, a shadowed variable warning.
Diffstat (limited to 'Source/kwsys/ProcessWin32.c')
-rw-r--r--Source/kwsys/ProcessWin32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/kwsys/ProcessWin32.c b/Source/kwsys/ProcessWin32.c
index 2654a73..cba1e61 100644
--- a/Source/kwsys/ProcessWin32.c
+++ b/Source/kwsys/ProcessWin32.c
@@ -379,7 +379,7 @@ kwsysProcess* kwsysProcess_New(void)
/* Construct the executable name from the process id and kwsysProcess
instance. This should be unique. */
- sprintf(fwdName, KWSYS_NAMESPACE_STRING "pew9xfwd_%u_%p.exe",
+ sprintf(fwdName, KWSYS_NAMESPACE_STRING "pew9xfwd_%ld_%p.exe",
GetCurrentProcessId(), cp);
/* If we have a temp directory, use it. */