]> cvs.zerfleddert.de Git - proxmark3-svn/commitdiff
fix a warning
authorIceman <iceman@iuse.se>
Mon, 26 Dec 2016 19:39:13 +0000 (20:39 +0100)
committerGitHub <noreply@github.com>
Mon, 26 Dec 2016 19:39:13 +0000 (20:39 +0100)
CHG: size_t is unsigned. switched to the correct string formatter

client/cmdhficlass.c

index b5fa46f06ba599090a31f58936b48425d841b353..156b7f651b664e7854f7806324df61e1a1a1a198 100644 (file)
@@ -769,7 +769,7 @@ int CmdHFiClassReader_Dump(const char *Cmd) {
        if (have_debit_key) memcpy(tag_data+(3*8),div_key,8);
        if (have_credit_key) memcpy(tag_data+(4*8),c_div_key,8);
        
        if (have_debit_key) memcpy(tag_data+(3*8),div_key,8);
        if (have_credit_key) memcpy(tag_data+(4*8),c_div_key,8);
        
-       printf("Num of bytes:  %d\n", gotBytes);
+       printf("Num of bytes:  %u\n", gotBytes);
        
        // print the dump
        printf("------+--+-------------------------+\n");
        
        // print the dump
        printf("------+--+-------------------------+\n");
Impressum, Datenschutz