fixed a compiler error

This commit is contained in:
Kohsuke Kawaguchi
2014-01-08 21:40:22 -08:00
parent 0ee22abe8c
commit c76cbff0d0

View File

@@ -49,7 +49,7 @@ namespace winsw
SetConsoleCtrlHandler(null, true);
GenerateConsoleCtrlEvent(CtrlTypes.CTRL_C_EVENT, 0);
process.WaitForExit(shutdownTimeout.TotalMilliseconds);
process.WaitForExit((int)shutdownTimeout.TotalMilliseconds);
return process.HasExited;
}