]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - common/crc16.c
There's no painless way to do this, but it needs to be done --
[proxmark3-svn] / common / crc16.c
index 1497ecf6c9f02265526ee7f48aeecef6fdcd7ff0..c26ced8a5a2ddb8cf8badd076b6caa6d85a8c4b7 100644 (file)
@@ -1,5 +1,5 @@
-WORD update_crc16( WORD crc, BYTE c ) {\r
-       WORD i, v, tcrc = 0;\r
+unsigned short update_crc16( unsigned short crc, unsigned char c ) {\r
+       unsigned short i, v, tcrc = 0;\r
 \r
        v = (crc ^ c) & 0xff;\r
   for (i = 0; i < 8; i++) {\r
Impressum, Datenschutz