mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-03 12:11:33 +01:00
Fix syntax error introduced with 60bd6488
* g10/apdu.c (pcsc_dword_t): Fix syntax error.
This commit is contained in:
parent
5230304349
commit
0d0961c483
@ -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))
|
||||
|
Loading…
x
Reference in New Issue
Block a user