ENH: Cast into apropriate type to remove warning
This commit is contained in:
parent
6e5462b698
commit
4bad15e4b2
|
@ -787,7 +787,7 @@ void kwsysProcess_Execute(kwsysProcess* cp)
|
|||
|
||||
/* Decide whether a child window should be shown. */
|
||||
si.dwFlags |= STARTF_USESHOWWINDOW;
|
||||
si.wShowWindow = cp->HideWindow?SW_HIDE:SW_SHOWDEFAULT;
|
||||
si.wShowWindow = (unsigned short)(cp->HideWindow?SW_HIDE:SW_SHOWDEFAULT);
|
||||
|
||||
/* The timeout period starts now. */
|
||||
cp->StartTime = kwsysProcessTimeGetCurrent();
|
||||
|
|
Loading…
Reference in New Issue