X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/aa5cba4ca36701bdcfc153d14787045287a29d70..57e1e31dce70a58da1736b9579a869c1df313a13:/armsrc/mifareutil.c diff --git a/armsrc/mifareutil.c b/armsrc/mifareutil.c index d26d71ee..1dd62951 100644 --- a/armsrc/mifareutil.c +++ b/armsrc/mifareutil.c @@ -578,7 +578,7 @@ void emlClearMem(void) { memset(emCARD, 0, CARD_MEMORY_SIZE); // fill sectors trailer data - for(uint8_t b = 3; b < 256; ((b < 127) ? (b += 4) : (b += 16))) + for(uint16_t b = 3; b < 256; ((b < 127) ? (b += 4) : (b += 16))) emlSetMem((uint8_t *)trailer, b, 1); // uid