diff options
author | Allan K. Edwards <ake@apache.org> | 2004-10-06 21:40:47 +0200 |
---|---|---|
committer | Allan K. Edwards <ake@apache.org> | 2004-10-06 21:40:47 +0200 |
commit | 500d117c15c57e100cad4fcf4703ed8c90414582 (patch) | |
tree | e3b41e5df5d3022031c10ccec759c68bdeaa5f68 /server | |
parent | As the first stage of a simplification of the default config in 2.1 (only!), I'm (diff) | |
download | apache2-500d117c15c57e100cad4fcf4703ed8c90414582.tar.xz apache2-500d117c15c57e100cad4fcf4703ed8c90414582.zip |
parm cast should be DWORD
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105394 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'server')
-rw-r--r-- | server/mpm/winnt/service.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/mpm/winnt/service.c b/server/mpm/winnt/service.c index e1db466bbe..5e4e5ba7b3 100644 --- a/server/mpm/winnt/service.c +++ b/server/mpm/winnt/service.c @@ -134,7 +134,7 @@ void hold_console_open_on_error(void) hConErr = GetStdHandle(STD_ERROR_HANDLE); if ((hConIn == INVALID_HANDLE_VALUE) || (hConErr == INVALID_HANDLE_VALUE)) return; - if (!WriteConsole(hConErr, msg, (int)strlen(msg), &result, NULL) || !result) + if (!WriteConsole(hConErr, msg, (DWORD)strlen(msg), &result, NULL) || !result) return; if (!GetConsoleScreenBufferInfo(hConErr, &coninfo)) return; @@ -159,7 +159,7 @@ void hold_console_open_on_error(void) sprintf (count, "%d...", remains); if (!SetConsoleCursorPosition(hConErr, coninfo.dwCursorPosition)) return; - if (!WriteConsole(hConErr, count, (int)strlen(count), &result, NULL) + if (!WriteConsole(hConErr, count, (DWORD)strlen(count), &result, NULL) || !result) return; } |