mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-22 06:13:51 -07:00
fix coverity CID 350152
This commit is contained in:
parent
c78fa3c67f
commit
b026fc64f0
1 changed files with 2 additions and 2 deletions
|
@ -231,7 +231,7 @@ static void asn1_tag_dump_integer(const struct tlv *tlv, const struct asn1_tag *
|
|||
return;
|
||||
}
|
||||
uint32_t val = asn1_value_integer(tlv, 0, tlv->len * 2);
|
||||
PrintAndLogEx(NORMAL, " value: %lu (0x%X)", val, val);
|
||||
PrintAndLogEx(NORMAL, " value: %" PRIu32 " (0x%X)", val, val);
|
||||
}
|
||||
|
||||
static char *asn1_oid_description(const char *oid, bool with_group_desc) {
|
||||
|
@ -327,7 +327,7 @@ bool asn1_tag_dump(const struct tlv *tlv, int level, bool *candump) {
|
|||
*/
|
||||
|
||||
PrintAndLogEx(INFO,
|
||||
"%*s-- %02X [%02X] '"_YELLOW_("%s") "'" NOLF
|
||||
"%*s-- %02X [%02ZX] '"_YELLOW_("%s") "'" NOLF
|
||||
, (level * 4)
|
||||
, " "
|
||||
, tlv->tag
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue