diff options
Diffstat (limited to 'Source/kwsys/ProcessFwd9x.c')
-rw-r--r-- | Source/kwsys/ProcessFwd9x.c | 4 |
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; } |