summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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();