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

Ludovic Rousseau rousseau at alioth.debian.org
Thu Nov 30 21:39:09 CET 2006


Author: rousseau
Date: 2006-11-30 21:39:09 +0100 (Thu, 30 Nov 2006)
New Revision: 2246

Modified:
   trunk/PCSC/src/sys_unix.c
Log:
warning: C++ style comments are not allowed in ISO C90


Modified: trunk/PCSC/src/sys_unix.c
===================================================================
--- trunk/PCSC/src/sys_unix.c	2006-11-30 20:37:18 UTC (rev 2245)
+++ trunk/PCSC/src/sys_unix.c	2006-11-30 20:39:09 UTC (rev 2246)
@@ -249,7 +249,7 @@
 
 	vAddress = 0;
 	vAddress = mmap(0, iSize, PROT_READ, MAP_SHARED, iFid, iOffset);
-	if (vAddress == (void*)-1) // mmap returns -1 on error
+	if (vAddress == (void*)-1) /* mmap returns -1 on error */
 	{
 		Log2(PCSC_LOG_CRITICAL, "SYS_PublicMemoryMap() failed: %s",
 			strerror(errno));




More information about the Pcsclite-cvs-commit mailing list