From 2ba8d07e1bc752757676b663af6093b4aa3beeff Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Sun, 20 Oct 2019 06:28:49 -0400 Subject: [PATCH] fix: unshadow --- client/fido/cbortools.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/client/fido/cbortools.c b/client/fido/cbortools.c index b0d309db7..911244806 100644 --- a/client/fido/cbortools.c +++ b/client/fido/cbortools.c @@ -75,9 +75,9 @@ static CborError dumpelm(CborValue *it, bool *got_next, int nestingLevel) { } case CborSimpleType: { - uint8_t type; - cbor_value_get_simple_type(it, &type); - printf("simple(%u)", type); + uint8_t t; + cbor_value_get_simple_type(it, &t); + printf("simple(%u)", t); break; } @@ -206,7 +206,7 @@ int TinyCborPrintFIDOPackage(uint8_t cmdCode, bool isResponse, uint8_t *data, si if (err) { fprintf(stderr, - "CBOR parsing failure at offset %" PRId32 " : %s\n", + "CBOR parsing failure at offset %" PRIu32 " : %s\n", (uint32_t)(cb.ptr - data), cbor_error_string(err) );