//-----------------------------------------------------------------------------\r
\r
#define CRC_14443_A 0x6363 /* ITU-V.41 */\r
-#define CRC_14443_B 0xFFFF /* ISO/IEC 13239 (formerly ISO/IEC 3309) */\r
+#define CRC_14443_B 0xFFFF /* ISO/IEC 13239 (formerly ISO/IEC 3309) */\r
\r
static unsigned short UpdateCrc14443(unsigned char ch, unsigned short *lpwCrc)\r
{\r
return (*lpwCrc);\r
}\r
\r
-static void ComputeCrc14443(int CrcType, BYTE *Data, int Length,\r
- BYTE *TransmitFirst, BYTE *TransmitSecond)\r
+static void ComputeCrc14443(int CrcType, unsigned char *Data, int Length,\r
+ unsigned char *TransmitFirst, unsigned char *TransmitSecond)\r
{\r
unsigned char chBlock;\r
unsigned short wCrc=CrcType;\r
if (CrcType == CRC_14443_B)\r
wCrc = ~wCrc; /* ISO/IEC 13239 (formerly ISO/IEC 3309) */\r
\r
- *TransmitFirst = (BYTE) (wCrc & 0xFF);\r
- *TransmitSecond = (BYTE) ((wCrc >> 8) & 0xFF);\r
+ *TransmitFirst = (unsigned char) (wCrc & 0xFF);\r
+ *TransmitSecond = (unsigned char) ((wCrc >> 8) & 0xFF);\r
return;\r
}\r