From e26e66673489dab50f6bffed68e3069ab3b4cd12 Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Mon, 18 Mar 2019 22:31:31 +0100 Subject: [PATCH] style --- client/tinycbor/cbor.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/tinycbor/cbor.h b/client/tinycbor/cbor.h index a71bbcde4..a6175d3ab 100644 --- a/client/tinycbor/cbor.h +++ b/client/tinycbor/cbor.h @@ -301,7 +301,7 @@ CBOR_API CborError cbor_value_leave_container(CborValue *it, const CborValue *re CBOR_PRIVATE_API uint64_t _cbor_value_decode_int64_internal(const CborValue *value); CBOR_INLINE_API uint64_t _cbor_value_extract_int64_helper(const CborValue *value) { - return value->flags & CborIteratorFlag_IntegerValueTooLarge ? + return (value->flags & CborIteratorFlag_IntegerValueTooLarge) ? _cbor_value_decode_int64_internal(value) : value->extra; }