From 0a9ff172a517ffb180f67e12c440d43e67814b85 Mon Sep 17 00:00:00 2001 From: Alexander Vdolainen Date: Sun, 5 Aug 2018 00:51:22 +0300 Subject: [PATCH] Fixed ret type warning; --- ndbuf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ndbuf.c b/ndbuf.c index 1d05813..34263cb 100644 --- a/ndbuf.c +++ b/ndbuf.c @@ -34,7 +34,7 @@ static inline uint64_t ntohll(uint64_t n) #ifdef WORDS_BIGENDIAN return n; #else /* WORDS_BIGENDIAN */ - return (((uint64_t)(n) << 56) | \ + return (uint64_t)(((uint64_t)(n) << 56) | \ (((uint64_t)(n) << 40) & 0xff000000000000ULL) | \ (((uint64_t)(n) << 24) & 0xff0000000000ULL) | \ (((uint64_t)(n) << 8) & 0xff00000000ULL) | \