Browse Source

fixed a compiler error

Kohsuke Kawaguchi 12 years ago
parent
commit
c76cbff0d0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      SigIntHelper.cs

+ 1 - 1
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;
             }