1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-06-01 22:28:02 +02:00

Fix syntax error introduced with 60bd6488

* g10/apdu.c (pcsc_dword_t): Fix syntax error.
This commit is contained in:
Werner Koch 2014-06-23 17:14:15 +02:00
parent 5230304349
commit 0d0961c483

View File

@ -84,7 +84,7 @@
#endif
#if defined(__APPLE__) || defined(_WIN32) || defined(__CYGWIN__)
typedef unsinged int pcsc_dword_t;
typedef unsigned int pcsc_dword_t;
#else
typedef unsigned long pcsc_dword_t;
#endif
@ -1290,7 +1290,7 @@ connect_pcsc_card (int slot)
{
char reader[250];
pcsc_dword_t readerlen, atrlen;
long card_state, card_protocol;
pcsc_dword_t card_state, card_protocol;
atrlen = DIM (reader_table[0].atr);
readerlen = sizeof reader -1 ;
@ -1300,7 +1300,8 @@ connect_pcsc_card (int slot)
reader_table[slot].atr, &atrlen);
if (err)
log_error ("pcsc_status failed: %s (0x%lx) %lu\n",
pcsc_error_string (err), err, readerlen);
pcsc_error_string (err),
(unsigned long)err, (unsigned long)readerlen);
else
{
if (atrlen > DIM (reader_table[0].atr))