[Pcsclite-cvs-commit] r5983 - /trunk/PCSC/src/spy/pcsc-spy.c

rousseau at users.alioth.debian.org rousseau at users.alioth.debian.org
Tue Sep 27 13:05:09 UTC 2011


Author: rousseau
Date: Tue Sep 27 13:05:08 2011
New Revision: 5983

URL: http://svn.debian.org/wsvn/pcsclite/?sc=1&rev=5983
Log:
Fix compiler warning

pcsc-spy.c: In function 'SCardGetAttrib':
pcsc-spy.c:635:6: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]

Modified:
    trunk/PCSC/src/spy/pcsc-spy.c

Modified: trunk/PCSC/src/spy/pcsc-spy.c
URL: http://svn.debian.org/wsvn/pcsclite/trunk/PCSC/src/spy/pcsc-spy.c?rev=5983&op=diff
==============================================================================
--- trunk/PCSC/src/spy/pcsc-spy.c (original)
+++ trunk/PCSC/src/spy/pcsc-spy.c Tue Sep 27 13:05:08 2011
@@ -632,7 +632,7 @@
 		const unsigned char *s = pbAttr;
 
 		if (autoallocate)
-			s = *(char **)pbAttr;
+			s = *(unsigned char **)pbAttr;
 
 		spy_buffer(s, *pcbAttrLen);
 	}




More information about the Pcsclite-cvs-commit mailing list