mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-08-20 13:23:25 -07:00
remove redundant llx prix64 defines
remove unused commented out #includes coverity indicates compressed_fpga_stream.opaque needs to be initialized to Z_NULL fgetc returns int define llu
This commit is contained in:
parent
d23411ef61
commit
38d618baa9
6 changed files with 10 additions and 14 deletions
|
@ -33,8 +33,6 @@
|
|||
#include "usb_cmd.h"
|
||||
#include "cmdhfmfu.h"
|
||||
|
||||
#define llX PRIx64
|
||||
|
||||
static int CmdHelp(const char *Cmd);
|
||||
|
||||
#define ICLASS_KEYS_MAX 8
|
||||
|
@ -1350,7 +1348,7 @@ uint64_t hexarray_to_uint64(uint8_t *key) {
|
|||
for (int i = 0;i < 8;i++)
|
||||
sprintf(&temp[(i *2)],"%02X",key[i]);
|
||||
temp[16] = '\0';
|
||||
if (sscanf(temp,"%016"llX,&uint_key) < 1)
|
||||
if (sscanf(temp,"%016"llx,&uint_key) < 1)
|
||||
return 0;
|
||||
return uint_key;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue