You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by yl...@apache.org on 2022/06/23 11:48:10 UTC

svn commit: r1902198 - /apr/apr/trunk/threadproc/win32/thread.c

Author: ylavic
Date: Thu Jun 23 11:48:10 2022
New Revision: 1902198

URL: http://svn.apache.org/viewvc?rev=1902198&view=rev
Log:
apr_thread: Fix pointer to int conversion warning.

* threadproc/win32/thread.c(dummy_worker):
  First cast to apr_uinptr_t before conversion pointer to int.


Modified:
    apr/apr/trunk/threadproc/win32/thread.c

Modified: apr/apr/trunk/threadproc/win32/thread.c
URL: http://svn.apache.org/viewvc/apr/apr/trunk/threadproc/win32/thread.c?rev=1902198&r1=1902197&r2=1902198&view=diff
==============================================================================
--- apr/apr/trunk/threadproc/win32/thread.c (original)
+++ apr/apr/trunk/threadproc/win32/thread.c Thu Jun 23 11:48:10 2022
@@ -92,7 +92,7 @@ static unsigned int APR_THREAD_FUNC dumm
         apr_pool_destroy(thd->pool);
     }
 
-    return (unsigned int) ret;
+    return (unsigned int)(apr_uintptr_t)ret;
 }
 
 static apr_status_t alloc_thread(apr_thread_t **new,