X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/86724c17c9914f495e2a7df729d4fe65a9746d82..bcf61bd34ab2747580aabf648093e5854b7283ed:/client/util.c diff --git a/client/util.c b/client/util.c index cea9f7d7..a64f46b9 100644 --- a/client/util.c +++ b/client/util.c @@ -108,7 +108,7 @@ void print_hex(const uint8_t * data, const size_t len) printf("\n"); } -char * sprint_hex(const uint8_t * data, const size_t len) { +char *sprint_hex(const uint8_t *data, const size_t len) { int maxLen = ( len > 1024/3) ? 1024/3 : len; static char buf[1024]; @@ -117,7 +117,7 @@ char * sprint_hex(const uint8_t * data, const size_t len) { size_t i; for (i=0; i < maxLen; ++i, tmp += 3) - sprintf(tmp, "%02x ", data[i]); + sprintf(tmp, "%02X ", data[i]); return buf; }