diff options
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/swab.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/include/swab.h b/src/include/swab.h index a372797f7c..7d781a089e 100644 --- a/src/include/swab.h +++ b/src/include/swab.h @@ -25,10 +25,10 @@ #define swab32(x) \ ((unsigned int)( \ - (((unsigned int)(x) & (unsigned int)0x000000ffUL) << 24) | \ - (((unsigned int)(x) & (unsigned int)0x0000ff00UL) << 8) | \ - (((unsigned int)(x) & (unsigned int)0x00ff0000UL) >> 8) | \ - (((unsigned int)(x) & (unsigned int)0xff000000UL) >> 24))) + (((unsigned int)(x) & 0x000000ffUL) << 24) | \ + (((unsigned int)(x) & 0x0000ff00UL) << 8) | \ + (((unsigned int)(x) & 0x00ff0000UL) >> 8) | \ + (((unsigned int)(x) & 0xff000000UL) >> 24))) #define swab64(x) \ ((uint64_t)( \ |