Fixed warnings in pcsc layer
This commit is contained in:
parent
9b5f1ab384
commit
959be9d946
@ -108,14 +108,14 @@
|
||||
|
||||
#define SCARD_ATR_LENGTH 33
|
||||
|
||||
#define SCARD_PROTOCOL_UNDEFINED 0x00000000
|
||||
#define SCARD_PROTOCOL_T0 0x00000001
|
||||
#define SCARD_PROTOCOL_T1 0x00000002
|
||||
#define SCARD_PROTOCOL_RAW 0x00010000
|
||||
#define SCARD_PROTOCOL_UNDEFINED 0x00000000u
|
||||
#define SCARD_PROTOCOL_T0 0x00000001u
|
||||
#define SCARD_PROTOCOL_T1 0x00000002u
|
||||
#define SCARD_PROTOCOL_RAW 0x00010000u
|
||||
|
||||
#define SCARD_PROTOCOL_Tx (SCARD_PROTOCOL_T0 | SCARD_PROTOCOL_T1)
|
||||
#define SCARD_PROTOCOL_DEFAULT 0x80000000
|
||||
#define SCARD_PROTOCOL_OPTIMAL 0x00000000
|
||||
#define SCARD_PROTOCOL_DEFAULT 0x80000000u
|
||||
#define SCARD_PROTOCOL_OPTIMAL 0x00000000u
|
||||
|
||||
#define SCARD_POWER_DOWN 0
|
||||
#define SCARD_COLD_RESET 1
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -114,8 +114,8 @@ typedef PCSC_ULONG* PCSC_PULONG;
|
||||
#define PCSC_SCARD_NEGOTIABLE 0x0020
|
||||
#define PCSC_SCARD_SPECIFIC 0x0040
|
||||
|
||||
#define PCSC_SCARD_PROTOCOL_RAW 0x00000004
|
||||
#define PCSC_SCARD_PROTOCOL_T15 0x00000008
|
||||
#define PCSC_SCARD_PROTOCOL_RAW 0x00000004u
|
||||
#define PCSC_SCARD_PROTOCOL_T15 0x00000008u
|
||||
|
||||
#define PCSC_MAX_BUFFER_SIZE 264
|
||||
#define PCSC_MAX_BUFFER_SIZE_EXTENDED (4 + 3 + (1 << 16) + 3 + 2)
|
||||
|
Loading…
Reference in New Issue
Block a user