From 0c53fd776af9631c915c8722e1d68ce9a69fa3f6 Mon Sep 17 00:00:00 2001 From: Andreas Walter Date: Fri, 26 Feb 2021 11:49:25 +0100 Subject: [PATCH] fix(core): Explicit cast to avoid compiler warning (#4203) [Retrieved from: https://github.com/open62541/open62541/commit/0c53fd776af9631c915c8722e1d68ce9a69fa3f6] Signed-off-by: Fabrice Fontaine --- src/ua_types_encoding_binary.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ua_types_encoding_binary.c b/src/ua_types_encoding_binary.c index 0fe88eb98e0..abbd23735d3 100644 --- a/src/ua_types_encoding_binary.c +++ b/src/ua_types_encoding_binary.c @@ -319,7 +319,7 @@ static long double unpack754(uint64_t i, unsigned bits, unsigned expbits) { unsigned significandbits = bits - expbits - 1; long double result = (long double)(i&(uint64_t)((1LL<>significandbits) & (uint64_t)((1LL<