ENH: Cast into apropriate type to remove warning

This commit is contained in:
Andy Cedilnik 2003-08-07 15:39:07 -04:00
parent 6e5462b698
commit 4bad15e4b2
1 changed files with 1 additions and 1 deletions

View File

@ -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();