summaryrefslogtreecommitdiffstats
path: root/Source/kwsys/ProcessFwd9x.c
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2003-07-01 17:27:42 (GMT)
committerBrad King <brad.king@kitware.com>2003-07-01 17:27:42 (GMT)
commit6b1770932e88c6ebf0c53ff9f5aebcaae8d66af8 (patch)
treede00f8932f4c447489575e2ce5f6a8fd5e42db84 /Source/kwsys/ProcessFwd9x.c
parent84b6583fca3c3b27f41f86e8c27fe9d804112659 (diff)
downloadCMake-6b1770932e88c6ebf0c53ff9f5aebcaae8d66af8.zip
CMake-6b1770932e88c6ebf0c53ff9f5aebcaae8d66af8.tar.gz
CMake-6b1770932e88c6ebf0c53ff9f5aebcaae8d66af8.tar.bz2
ERR: Should use %p to pass HANDLE values on a command line, not %d.
Diffstat (limited to 'Source/kwsys/ProcessFwd9x.c')
-rw-r--r--Source/kwsys/ProcessFwd9x.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/kwsys/ProcessFwd9x.c b/Source/kwsys/ProcessFwd9x.c
index 0b88054..b837bf5 100644
--- a/Source/kwsys/ProcessFwd9x.c
+++ b/Source/kwsys/ProcessFwd9x.c
@@ -72,12 +72,12 @@ int main()
/* Parse the error pipe handle. */
while(*cmdLine && *cmdLine == ' ') { ++cmdLine; }
- sscanf(cmdLine, "%d", &errorPipe);
+ sscanf(cmdLine, "%p", &errorPipe);
/* Parse the kill event handle. */
while(*cmdLine && *cmdLine != ' ') { ++cmdLine; }
while(*cmdLine && *cmdLine == ' ') { ++cmdLine; }
- sscanf(cmdLine, "%d", &killEvent);
+ sscanf(cmdLine, "%p", &killEvent);
/* Skip to the beginning of the command line of the real child. */
while(*cmdLine && *cmdLine != ' ') { ++cmdLine; }