mirror of
https://github.com/claunia/flac.git
synced 2025-12-16 18:54:26 +00:00
include/share/endswap.h : Fix fallback ENDSWAP_16 macro.
This commit is contained in:
@@ -50,7 +50,7 @@
|
||||
|
||||
#else
|
||||
|
||||
#define ENDSWAP_16(x) (((((x) >> 8) & 0xFF00) + ((x) & 0xFF00) << 8))
|
||||
#define ENDSWAP_16(x) (((((x) >> 8) & 0xFF) + ((x) & 0xFF) << 8))
|
||||
#define ENDSWAP_32(x) ((((x) >> 24) & 0xFF) + (((x) >> 8) & 0xFF00) + (((x) & 0xFF00) << 8) + (((x) & 0xFF) << 24))
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user