mirror of
https://github.com/amadvance/snapraid.git
synced 2026-10-26 10:51:54 -04:00
Removes compiler warnings.
This commit is contained in:
parent
8e55a7bb6f
commit
27fe843e8c
1 changed files with 1 additions and 1 deletions
|
|
@ -35,7 +35,7 @@ inline uint32_t rotl32 ( uint32_t x, int8_t r )
|
|||
#if WORDS_BIGENDIAN
|
||||
static inline uint32_t swap32(uint32_t v)
|
||||
{
|
||||
return (((v) & 0xff) << 24 | ((v) & 0xff00) << 8 | ((v) & 0xff0000) >> 8 | ((v) >> 24) & 0xff);
|
||||
return ((v & 0xff) << 24) | ((v & 0xff00) << 8) | ((v & 0xff0000) >> 8) | ((v >> 24) & 0xff);
|
||||
}
|
||||
#else
|
||||
static inline uint32_t swap32(uint32_t v)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue