[Pcsclite-cvs-commit] r2706 - /trunk/PCSC/src/testpcsc.c

rousseau at users.alioth.debian.org rousseau at users.alioth.debian.org
Sat Nov 17 20:01:43 UTC 2007


Author: rousseau
Date: Sat Nov 17 20:01:43 2007
New Revision: 2706

URL: http://svn.debian.org/wsvn/pcsclite/?sc=1&rev=2706
Log:
use LONG instead of int for rv in test_rv()
The type was wrong on amd64 since the sign was extended

Modified:
    trunk/PCSC/src/testpcsc.c

Modified: trunk/PCSC/src/testpcsc.c
URL: http://svn.debian.org/wsvn/pcsclite/trunk/PCSC/src/testpcsc.c?rev=2706&op=diff
==============================================================================
--- trunk/PCSC/src/testpcsc.c (original)
+++ trunk/PCSC/src/testpcsc.c Sat Nov 17 20:01:43 2007
@@ -27,8 +27,8 @@
 #define DONT_PANIC 1
 #define RED_PRINTF_FORMAT "\33[01;31m%s\33[0m\n"
 
-void test_rv(int rv, SCARDCONTEXT hContext, int dont_panic);
-void test_rv(int rv, SCARDCONTEXT hContext, int dont_panic)
+void test_rv(LONG rv, SCARDCONTEXT hContext, int dont_panic);
+void test_rv(LONG rv, SCARDCONTEXT hContext, int dont_panic)
 {
 	if (rv != SCARD_S_SUCCESS)
 	{




More information about the Pcsclite-cvs-commit mailing list