[Pcsclite-cvs-commit] r1725 - trunk/PCSC/src

Ludovic Rousseau rousseau at costa.debian.org
Mon Nov 21 13:18:11 UTC 2005


Author: rousseau
Date: 2005-11-21 13:18:11 +0000 (Mon, 21 Nov 2005)
New Revision: 1725

Modified:
   trunk/PCSC/src/powermgt_macosx.c
Log:
PMRegisterForPowerEvents(): use (PCSCLITE_THREAD_FUNCTION( )) instead of
(LPVOID) to cast the function pointer passed to SYS_ThreadCreate()


Modified: trunk/PCSC/src/powermgt_macosx.c
===================================================================
--- trunk/PCSC/src/powermgt_macosx.c	2005-11-21 13:17:00 UTC (rev 1724)
+++ trunk/PCSC/src/powermgt_macosx.c	2005-11-21 13:18:11 UTC (rev 1725)
@@ -94,7 +94,7 @@
   LONG rv; 
     
   rv = SYS_ThreadCreate(&pmgmtThread, THREAD_ATTR_DEFAULT,
-                        (LPVOID) PMPowerRegistrationThread, NULL);
+		  (PCSCLITE_THREAD_FUNCTION( )) PMPowerRegistrationThread, NULL);
   return 0;
 }
 




More information about the Pcsclite-cvs-commit mailing list