src: fix OS X compilation issues

This commit is contained in:
Santiago Gimeno
2014-09-11 07:32:20 -07:00
parent bf15e2eaf1
commit 44a89dbbf6
2 changed files with 11 additions and 9 deletions

View File

@@ -165,7 +165,7 @@ LONG PCSCLite::get_card_readers(PCSCLite* pcsclite, AsyncResult* async_result) {
}
/* Find out ReaderNameLength */
unsigned long readers_name_length;
DWORD readers_name_length;
result = SCardListReaders(pcsclite->m_card_context, NULL, NULL, &readers_name_length);
if (result != SCARD_S_SUCCESS) {
return result;