apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject cvs commit: apr/threadproc/win32 thread.c
Date Tue, 12 Feb 2002 22:46:49 GMT
wrowe       02/02/12 14:46:49

  Modified:    threadproc/win32 thread.c
  Log:
    Nary a complaint, since MSVC isn't distinguishing between void* and
    void**, but this is the correct syntax.
  
  Revision  Changes    Path
  1.44      +2 -2      apr/threadproc/win32/thread.c
  
  Index: thread.c
  ===================================================================
  RCS file: /home/cvs/apr/threadproc/win32/thread.c,v
  retrieving revision 1.43
  retrieving revision 1.44
  diff -u -r1.43 -r1.44
  --- thread.c	12 Feb 2002 01:24:12 -0000	1.43
  +++ thread.c	12 Feb 2002 22:46:48 -0000	1.44
  @@ -124,13 +124,13 @@
        * same size as the calling thread. 
        */
   #ifndef _WIN32_WCE
  -    if (((*new)->td = (HANDLE *)_beginthreadex(NULL, 0, 
  +    if (((*new)->td = (HANDLE)_beginthreadex(NULL, 0, 
                           (unsigned int (APR_THREAD_FUNC *)(void *))dummy_worker,
                           (*new), 0, &temp)) == 0) {
           return APR_FROM_OS_ERROR(_doserrno);
       }
   #else
  -   if (((*new)->td = (HANDLE *)CreateThread(NULL, 0, 
  +   if (((*new)->td = (HANDLE)CreateThread(NULL, 0, 
                           (unsigned int (APR_THREAD_FUNC *)(void *))dummy_worker,
                           (*new), 0, &temp)) == 0) {
           return apr_get_os_error();
  
  
  

Mime
View raw message