summaryrefslogtreecommitdiffstats
path: root/sesman/chansrv/pcsc
diff options
context:
space:
mode:
authorJay Sorg <jay.sorg@gmail.com>2013-10-24 00:53:10 -0700
committerJay Sorg <jay.sorg@gmail.com>2013-10-24 00:53:10 -0700
commita1d74793451831d7c1be4efba7738664b2264826 (patch)
tree18aa776666a2393de471684029e5db3d97e475d9 /sesman/chansrv/pcsc
parent6c038684921ed3083c7a63ecbd2e47981c2fac31 (diff)
downloadxrdp-proprietary-a1d74793451831d7c1be4efba7738664b2264826.tar.gz
xrdp-proprietary-a1d74793451831d7c1be4efba7738664b2264826.zip
chansrv: smart card minor change
Diffstat (limited to 'sesman/chansrv/pcsc')
-rw-r--r--sesman/chansrv/pcsc/xrdp_pcsc.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sesman/chansrv/pcsc/xrdp_pcsc.c b/sesman/chansrv/pcsc/xrdp_pcsc.c
index 82cebaac..502d3096 100644
--- a/sesman/chansrv/pcsc/xrdp_pcsc.c
+++ b/sesman/chansrv/pcsc/xrdp_pcsc.c
@@ -52,9 +52,9 @@ typedef struct _SCARD_IO_REQUEST
#define SCARD_PROTOCOL_T1 0x0002 /**< T=1 active protocol. */
#define SCARD_PROTOCOL_RAW 0x0004 /**< Raw active protocol. */
-SCARD_IO_REQUEST g_rgSCardRawPci = { SCARD_PROTOCOL_T0, 8 };
-SCARD_IO_REQUEST g_rgSCardT1Pci = { SCARD_PROTOCOL_T1, 8 };
-SCARD_IO_REQUEST g_rgSCardT0Pci = { SCARD_PROTOCOL_RAW, 8 };
+PCSC_API SCARD_IO_REQUEST g_rgSCardRawPci = { SCARD_PROTOCOL_T0, 8 };
+PCSC_API SCARD_IO_REQUEST g_rgSCardT1Pci = { SCARD_PROTOCOL_T1, 8 };
+PCSC_API SCARD_IO_REQUEST g_rgSCardT0Pci = { SCARD_PROTOCOL_RAW, 8 };
#define LLOG_LEVEL 5
#define LLOGLN(_level, _args) \
@@ -1136,10 +1136,10 @@ SCardSetAttrib(SCARDHANDLE hCard, DWORD dwAttrId, LPCBYTE pbAttr,
}
/*****************************************************************************/
-char *
+PCSC_API char *
pcsc_stringify_error(const long code)
{
- LLOGLN(10, ("pcsc_stringify_error: %d", code));
+ LLOGLN(10, ("pcsc_stringify_error: %d", (int)code));
switch (code)
{
case SCARD_S_SUCCESS: