From: iceman1001 Date: Tue, 2 Aug 2016 22:51:26 +0000 (+0200) Subject: FIX: mental note to self, don't code when tried. "size" should have been "sizeof... X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/commitdiff_plain/c23d2618ba93343a3c894d824a2b271135c106d3 FIX: mental note to self, don't code when tried. "size" should have been "sizeof". I need to fix my build for armsrc again. --- diff --git a/armsrc/iso14443b.c b/armsrc/iso14443b.c index cccf0dd6..e89c3bec 100644 --- a/armsrc/iso14443b.c +++ b/armsrc/iso14443b.c @@ -556,7 +556,7 @@ void SimulateIso14443bTag(uint32_t pupi) { // ...PUPI/UID supplied from user. Adjust ATQB response accordingly if ( pupi > 0 ) { - uint8_t len = size(respATQB); + uint8_t len = sizeof(respATQB); num_to_bytes(pupi, 4, respATQB+1); ComputeCrc14443(CRC_14443_B, respATQB, 12, &respATQB[len-2], &respATQB[len-1]); }