Ignore:
Timestamp:
12/17/10 09:46:50 (12 years ago)
Author:
dingo35
Message:

Partly reversing 3794 since deleting prototypes and introducing wrong datatypes is not the way to go

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/csctapi/icc_async.c

    r4131 r4132  
    948948    if ((reader->protocol_type == ATR_PROTOCOL_TYPE_T1) && (reader->ifsc != DEFAULT_IFSC)) {
    949949        unsigned char rsp[CTA_RES_LEN];
    950         unsigned short lr=0;
     950        unsigned short * lr;
    951951        unsigned char tmp[] = { 0x21, 0xC1, 0x01, 0x00, 0x00 };
    952952        tmp[3] = reader->ifsc; // Information Field size
    953953        tmp[4] = reader->ifsc ^ 0xE1;
    954         Protocol_T1_Command (reader, tmp, sizeof(tmp), rsp, &lr);
     954        Protocol_T1_Command (reader, tmp, sizeof(tmp), rsp, lr);
    955955    }
    956956 return OK;
Note: See TracChangeset for help on using the changeset viewer.