[Pcsclite-cvs-commit] r5287 - in /trunk/PCSC/src: PCSC/pcsclite.h.in error.c
rousseau at users.alioth.debian.org
rousseau at users.alioth.debian.org
Sun Oct 10 12:52:01 UTC 2010
Author: rousseau
Date: Sun Oct 10 12:52:00 2010
New Revision: 5287
URL: http://svn.debian.org/wsvn/pcsclite/?sc=1&rev=5287
Log:
pcsc_stringify_error(): Use "LONG" instead of "long" as parameter type
to reflect the return type from winscard.h
The LONG type may be redefined in PCSC/wintypes.h to int32_t for example
Modified:
trunk/PCSC/src/PCSC/pcsclite.h.in
trunk/PCSC/src/error.c
Modified: trunk/PCSC/src/PCSC/pcsclite.h.in
URL: http://svn.debian.org/wsvn/pcsclite/trunk/PCSC/src/PCSC/pcsclite.h.in?rev=5287&op=diff
==============================================================================
--- trunk/PCSC/src/PCSC/pcsclite.h.in (original)
+++ trunk/PCSC/src/PCSC/pcsclite.h.in Sun Oct 10 12:52:00 2010
@@ -200,7 +200,7 @@
/*
* Gets a stringified error response
*/
-char *pcsc_stringify_error(const long);
+char *pcsc_stringify_error(const LONG);
#ifdef __cplusplus
}
Modified: trunk/PCSC/src/error.c
URL: http://svn.debian.org/wsvn/pcsclite/trunk/PCSC/src/error.c?rev=5287&op=diff
==============================================================================
--- trunk/PCSC/src/error.c (original)
+++ trunk/PCSC/src/error.c Sun Oct 10 12:52:00 2010
@@ -54,7 +54,7 @@
* pcsc_stringify_error(rv), rv);
* @endcode
*/
-PCSC_API char* pcsc_stringify_error(const long pcscError)
+PCSC_API char* pcsc_stringify_error(const LONG pcscError)
{
static char strError[75];
More information about the Pcsclite-cvs-commit
mailing list