From 4bad15e4b23a5d6b6458b0bedd5c7a3d62c7f93e Mon Sep 17 00:00:00 2001 From: Andy Cedilnik Date: Thu, 7 Aug 2003 15:39:07 -0400 Subject: [PATCH] ENH: Cast into apropriate type to remove warning --- Source/kwsys/ProcessWin32.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/kwsys/ProcessWin32.c b/Source/kwsys/ProcessWin32.c index fc629990f..35fce7d9f 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();