[Pcsclite-cvs-commit] CVS PCSC/src
CVS User rousseau
ludovic.rousseau@free.fr
Thu, 26 May 2005 14:52:42 +0000
Update of /cvsroot/pcsclite/PCSC/src
In directory haydn:/tmp/cvs-serv22094
Modified Files:
hotplug_macosx.c
Log Message:
replace NULL by 0 in the 4th argument of
IORegistryEntryCreateCFProperty()
--- /cvsroot/pcsclite/PCSC/src/hotplug_macosx.c 2005/05/26 14:51:52 1.25
+++ /cvsroot/pcsclite/PCSC/src/hotplug_macosx.c 2005/05/26 14:52:42 1.26
@@ -6,7 +6,7 @@
* Ludovic Rousseau <ludovic.rousseau@free.fr>
* David Corcoran <corcoran@linuxnet.com>
*
- * $Id: hotplug_macosx.c,v 1.25 2005/05/26 14:51:52 rousseau Exp $
+ * $Id: hotplug_macosx.c,v 1.26 2005/05/26 14:52:42 rousseau Exp $
*/
/**
@@ -565,7 +565,7 @@
UInt32 pccAddress = 0;
CFTypeRef valueRef =
IORegistryEntryCreateCFProperty(pccDevice, CFSTR("VendorID"),
- kCFAllocatorDefault, NULL);
+ kCFAllocatorDefault, 0);
if (!valueRef)
{
@@ -578,7 +578,7 @@
}
valueRef =
IORegistryEntryCreateCFProperty(pccDevice, CFSTR("DeviceID"),
- kCFAllocatorDefault, NULL);
+ kCFAllocatorDefault, 0);
if (!valueRef)
{
Log1(PCSC_LOG_ERROR, "error getting device");
@@ -590,7 +590,7 @@
}
valueRef =
IORegistryEntryCreateCFProperty(pccDevice, CFSTR("SocketNumber"),
- kCFAllocatorDefault, NULL);
+ kCFAllocatorDefault, 0);
if (!valueRef)
{
Log1(PCSC_LOG_ERROR, "error getting PC Card socket");