[Pcsclite-cvs-commit] r4729 - /trunk/PCSC/src/winscard_svc.c
rousseau at users.alioth.debian.org
rousseau at users.alioth.debian.org
Tue Feb 9 13:14:44 UTC 2010
Author: rousseau
Date: Tue Feb 9 13:14:44 2010
New Revision: 4729
URL: http://svn.debian.org/wsvn/pcsclite/?sc=1&rev=4729
Log:
fix 2 compilation warnings
winscard_svc.c: In function ‘MSGRemoveContext’:
winscard_svc.c:776: warning: comparison between signed and unsigned
winscard_svc.c: In function ‘MSGAddHandle’:
winscard_svc.c:848: warning: comparison between signed and unsigned
Modified:
trunk/PCSC/src/winscard_svc.c
Modified: trunk/PCSC/src/winscard_svc.c
URL: http://svn.debian.org/wsvn/pcsclite/trunk/PCSC/src/winscard_svc.c?rev=4729&op=diff
==============================================================================
--- trunk/PCSC/src/winscard_svc.c (original)
+++ trunk/PCSC/src/winscard_svc.c Tue Feb 9 13:14:44 2010
@@ -57,7 +57,7 @@
struct _psContext
{
- uint32_t hContext;
+ int32_t hContext;
list_t cardsList;
uint32_t dwClientID; /**< Connection ID used to reference the Client. */
PCSCLITE_THREAD_T pthThread; /**< Event polling thread's ID */
@@ -85,7 +85,7 @@
Log3(PCSC_LOG_CRITICAL, "contextsListhContext_seeker called with NULL pointer: el=%X, key=%X", el, key);
}
- if (currentContext->hContext == *(uint32_t *)key)
+ if (currentContext->hContext == *(int32_t *)key)
return 1;
return 0;
}
More information about the Pcsclite-cvs-commit
mailing list