summaryrefslogtreecommitdiffstats
path: root/Source/kwsys/ProcessWin32.c
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2003-08-07 19:39:07 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2003-08-07 19:39:07 (GMT)
commit4bad15e4b23a5d6b6458b0bedd5c7a3d62c7f93e (patch)
tree1a943b75cef3e8dfb2d80568ff924f695fff62a2 /Source/kwsys/ProcessWin32.c
parent6e5462b698462926fcd3fb9f7be05b5f9438d540 (diff)
downloadCMake-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.c2
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();