From c76cbff0d0acc26eb2a2ef8ca9e220e7debbfaf8 Mon Sep 17 00:00:00 2001 From: Kohsuke Kawaguchi Date: Wed, 8 Jan 2014 21:40:22 -0800 Subject: [PATCH] fixed a compiler error --- SigIntHelper.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SigIntHelper.cs b/SigIntHelper.cs index 13a7db4..3d770b9 100644 --- a/SigIntHelper.cs +++ b/SigIntHelper.cs @@ -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; }