httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a..@apache.org
Subject cvs commit: httpd-2.0/server/mpm/winnt service.c
Date Wed, 06 Oct 2004 19:40:47 GMT
ake         2004/10/06 12:40:47

  Modified:    server/mpm/winnt service.c
  Log:
  parm cast should be DWORD
  
  Revision  Changes    Path
  1.65      +2 -2      httpd-2.0/server/mpm/winnt/service.c
  
  Index: service.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/server/mpm/winnt/service.c,v
  retrieving revision 1.64
  retrieving revision 1.65
  diff -u -r1.64 -r1.65
  --- service.c	6 Oct 2004 13:33:29 -0000	1.64
  +++ service.c	6 Oct 2004 19:40:47 -0000	1.65
  @@ -134,7 +134,7 @@
       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 @@
           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;
       }
  
  
  

Mime
View raw message