Fixed ret type warning;

master
Alexander Vdolainen 6 years ago
parent b6dba50071
commit 0a9ff172a5

@ -34,7 +34,7 @@ static inline uint64_t ntohll(uint64_t n)
#ifdef WORDS_BIGENDIAN #ifdef WORDS_BIGENDIAN
return n; return n;
#else /* WORDS_BIGENDIAN */ #else /* WORDS_BIGENDIAN */
return (((uint64_t)(n) << 56) | \ return (uint64_t)(((uint64_t)(n) << 56) | \
(((uint64_t)(n) << 40) & 0xff000000000000ULL) | \ (((uint64_t)(n) << 40) & 0xff000000000000ULL) | \
(((uint64_t)(n) << 24) & 0xff0000000000ULL) | \ (((uint64_t)(n) << 24) & 0xff0000000000ULL) | \
(((uint64_t)(n) << 8) & 0xff00000000ULL) | \ (((uint64_t)(n) << 8) & 0xff00000000ULL) | \

Loading…
Cancel
Save