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:41:59 +0000 (10:41 +0900)
commitee95c23fcdc6673db0fc7287ab2197915d9b55b3
tree8f8fe854afb915882f58c5b75ecb543d49879251
parenta75a08d6e30e93e1793aa78a15d473a3ea7623cb
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