mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-25 15:27:03 +01:00
scd: Fix two compiler warnings.
* scd/apdu.c (pcsc_vendor_specific_init): Add suggested parens. * scd/ccid-driver.c (ccid_get_atr): Cast DEBUGOUT_1 arg to int.
This commit is contained in:
parent
fd5f452496
commit
66585314e3
@ -1850,7 +1850,7 @@ pcsc_vendor_specific_init (int slot)
|
||||
reader_table[slot].is_spr532 = 1;
|
||||
reader_table[slot].pinpad_varlen_supported = 1;
|
||||
}
|
||||
else if (vendor == 0x046a && product == 0x003e /* Cherry ST-2xxx */
|
||||
else if ((vendor == 0x046a && product == 0x003e) /* Cherry ST-2xxx */
|
||||
|| vendor == 0x0c4b /* Tested with Reiner cyberJack GO */
|
||||
|| vendor == 0x1a44 /* Tested with Vasco DIGIPASS 920 */
|
||||
|| vendor == 0x234b /* Tested with FSIJ Gnuk Token */
|
||||
|
@ -2676,7 +2676,7 @@ ccid_get_atr (ccid_driver_t handle,
|
||||
|
||||
if (msglen != 10 + 4)
|
||||
{
|
||||
DEBUGOUT_1 ("Setting PPS failed: %d\n", msglen);
|
||||
DEBUGOUT_1 ("Setting PPS failed: %d\n", (int)msglen);
|
||||
return CCID_DRIVER_ERR_CARD_IO_ERROR;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user