summaryrefslogtreecommitdiffstats
path: root/sesman/chansrv/smartcard_pcsc.c
diff options
context:
space:
mode:
authorPavel Roskin <plroskin@gmail.com>2016-06-21 16:30:19 -0700
committerPavel Roskin <plroskin@gmail.com>2016-07-08 04:29:51 +0000
commitd1efb0d5baa661367b0fe74130457cb932a66e3b (patch)
tree0627bc5debad713d40cefc7ad16dc8afa750bc7f /sesman/chansrv/smartcard_pcsc.c
parent5829323ad88f8120730968cfe165e590a7fb2d59 (diff)
downloadxrdp-proprietary-d1efb0d5baa661367b0fe74130457cb932a66e3b.tar.gz
xrdp-proprietary-d1efb0d5baa661367b0fe74130457cb932a66e3b.zip
Fix signed to unsigned comparisons reported by g++ 6.1.0
Diffstat (limited to 'sesman/chansrv/smartcard_pcsc.c')
-rw-r--r--sesman/chansrv/smartcard_pcsc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sesman/chansrv/smartcard_pcsc.c b/sesman/chansrv/smartcard_pcsc.c
index 16938bf9..29bd5a23 100644
--- a/sesman/chansrv/smartcard_pcsc.c
+++ b/sesman/chansrv/smartcard_pcsc.c
@@ -145,7 +145,7 @@ get_uds_client_by_id(int uds_client_id)
/*****************************************************************************/
struct pcsc_context *
get_pcsc_context_by_app_context(struct pcsc_uds_client *uds_client,
- int app_context)
+ tui32 app_context)
{
struct pcsc_context *rv;
int index;
@@ -173,7 +173,7 @@ get_pcsc_context_by_app_context(struct pcsc_uds_client *uds_client,
/*****************************************************************************/
struct pcsc_card *
get_pcsc_card_by_app_card(struct pcsc_uds_client *uds_client,
- int app_card, struct pcsc_context **acontext)
+ tui32 app_card, struct pcsc_context **acontext)
{
struct pcsc_card *lcard;
struct pcsc_context *lcontext;