scd: PC/SC cleanup.
authorNIIBE Yutaka <gniibe@fsij.org>
Fri, 22 Mar 2013 01:41:59 +0000 (10:41 +0900)
committerNIIBE Yutaka <gniibe@fsij.org>
Fri, 22 Mar 2013 01:54:08 +0000 (10:54 +0900)
commitae22d629b6028aa994ff09f012e1cb029575eeae
tree920f43388e5f97afd50f4520769ee15cd84b5f89
parent33d276791c8169063b22fde96a1760f9f5ef1e63
scd: PC/SC cleanup.

* scd/apdu.c (pcsc_dword_t): New.  It was named as DWORD (double-word)
when a word was 16-bit.
(struct reader_table_s): Fixes for types.
(struct pcsc_readerstate_s) [__APPLE__]: Enable #pragma pack(1).
Throughout: Fixes for types.

* scd/pcsc-wrapper.c: Likewise.

--

Problem reported for 1.4.x by the issue 1358.
scd/apdu.c
scd/pcsc-wrapper.c