Fix cbor_tag_item usage in cbor_describe
@@ -317,7 +317,7 @@ static void _cbor_nested_describe(cbor_item_t *item, FILE *out, int indent) {
case CBOR_TYPE_TAG: {
fprintf(out, "%*s[CBOR_TYPE_TAG] ", indent, " ");
fprintf(out, "Value: %" PRIu64 "\n", cbor_tag_value(item));
- _cbor_nested_describe(cbor_tag_item(item), out, indent + 4);
+ _cbor_nested_describe(cbor_move(cbor_tag_item(item)), out, indent + 4);
break;
};
case CBOR_TYPE_FLOAT_CTRL: {
