[Pcsclite-cvs-commit] CVS PCSC/src

CVS User rousseau ludovic.rousseau@free.fr
Thu, 26 May 2005 14:54:25 +0000


Update of /cvsroot/pcsclite/PCSC/src
In directory haydn:/tmp/cvs-serv25088

Modified Files:
	hotplug_macosx.c 
Log Message:
HPRegisterForHotplugEvents(): use THREAD_ATTR_DEFAULT instead of NULL
and (PCSCLITE_THREAD_FUNCTION( )) instead of (LPVOID)


--- /cvsroot/pcsclite/PCSC/src/hotplug_macosx.c	2005/05/26 14:52:42	1.26
+++ /cvsroot/pcsclite/PCSC/src/hotplug_macosx.c	2005/05/26 14:54:24	1.27
@@ -6,7 +6,7 @@
  *  Ludovic Rousseau <ludovic.rousseau@free.fr>
  *  David Corcoran <corcoran@linuxnet.com>
  *
- * $Id: hotplug_macosx.c,v 1.26 2005/05/26 14:52:42 rousseau Exp $
+ * $Id: hotplug_macosx.c,v 1.27 2005/05/26 14:54:24 rousseau Exp $
  */
 
 /**
@@ -793,7 +793,8 @@
 ULONG HPRegisterForHotplugEvents(void)
 {
 	SYS_ThreadCreate(&sHotplugWatcherThread,
-		NULL, (LPVOID) HPDeviceNotificationThread, NULL);
+		THREAD_ATTR_DEFAULT,
+		(PCSCLITE_THREAD_FUNCTION( )) HPDeviceNotificationThread, NULL);
 
 	return 0;
 }