diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2003-08-07 19:39:07 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2003-08-07 19:39:07 (GMT) |
commit | 4bad15e4b23a5d6b6458b0bedd5c7a3d62c7f93e (patch) | |
tree | 1a943b75cef3e8dfb2d80568ff924f695fff62a2 /Source/kwsys/ProcessWin32.c | |
parent | 6e5462b698462926fcd3fb9f7be05b5f9438d540 (diff) | |
download | CMake-4bad15e4b23a5d6b6458b0bedd5c7a3d62c7f93e.zip CMake-4bad15e4b23a5d6b6458b0bedd5c7a3d62c7f93e.tar.gz CMake-4bad15e4b23a5d6b6458b0bedd5c7a3d62c7f93e.tar.bz2 |
ENH: Cast into apropriate type to remove warning
Diffstat (limited to 'Source/kwsys/ProcessWin32.c')
-rw-r--r-- | Source/kwsys/ProcessWin32.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/kwsys/ProcessWin32.c b/Source/kwsys/ProcessWin32.c index fc62999..35fce7d 100644 --- a/Source/kwsys/ProcessWin32.c +++ b/Source/kwsys/ProcessWin32.c @@ -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(); |