Commit 09df8bd6 authored by Allan K. Edwards's avatar Allan K. Edwards
Browse files

parm cast should be DWORD


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105394 13f79535-47bb-0310-9956-ffa450edef68
parent b50af20e
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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;
    }