eap-sim-pcsc: fix compiler warning
authorMartin Willi <martin@revosec.ch>
Thu, 18 Jul 2013 12:55:05 +0000 (14:55 +0200)
committerMartin Willi <martin@revosec.ch>
Thu, 18 Jul 2013 12:59:19 +0000 (14:59 +0200)
src/libcharon/plugins/eap_sim_pcsc/eap_sim_pcsc_card.c

index c3f0f24..dbf6608 100644 (file)
@@ -133,7 +133,7 @@ METHOD(simaka_card_t, get_triplet, bool,
                 cur_reader += strlen(cur_reader) + 1)
        {
                DWORD dwActiveProtocol = -1;
-               SCARD_IO_REQUEST *pioSendPci;
+               const SCARD_IO_REQUEST *pioSendPci;
                SCARD_IO_REQUEST pioRecvPci;
                BYTE pbRecvBuffer[64];
                DWORD dwRecvLength;
@@ -394,4 +394,3 @@ eap_sim_pcsc_card_t *eap_sim_pcsc_card_create()
 
        return &this->public;
 }
-