fix: unshadow
This commit is contained in:
@@ -75,9 +75,9 @@ static CborError dumpelm(CborValue *it, bool *got_next, int nestingLevel) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
case CborSimpleType: {
|
case CborSimpleType: {
|
||||||
uint8_t type;
|
uint8_t t;
|
||||||
cbor_value_get_simple_type(it, &type);
|
cbor_value_get_simple_type(it, &t);
|
||||||
printf("simple(%u)", type);
|
printf("simple(%u)", t);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -206,7 +206,7 @@ int TinyCborPrintFIDOPackage(uint8_t cmdCode, bool isResponse, uint8_t *data, si
|
|||||||
|
|
||||||
if (err) {
|
if (err) {
|
||||||
fprintf(stderr,
|
fprintf(stderr,
|
||||||
"CBOR parsing failure at offset %" PRId32 " : %s\n",
|
"CBOR parsing failure at offset %" PRIu32 " : %s\n",
|
||||||
(uint32_t)(cb.ptr - data),
|
(uint32_t)(cb.ptr - data),
|
||||||
cbor_error_string(err)
|
cbor_error_string(err)
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user