Merge branch 'save_ext' into jgrpp

This commit is contained in:
Jonathan G Rennison
2018-06-06 01:56:07 +01:00
3 changed files with 17 additions and 7 deletions

View File

@@ -393,7 +393,7 @@ static inline T ROR(const T x, const uint8 n)
* (since it will use hardware swapping if available).
* Even though they should return uint16 and uint32, we get
* warnings if we don't cast those (why?) */
#define BSWAP64(x) ((uint32)CFSwapInt64(x))
#define BSWAP64(x) ((uint64)CFSwapInt64(x))
#define BSWAP32(x) ((uint32)CFSwapInt32(x))
#define BSWAP16(x) ((uint16)CFSwapInt16(x))
#elif defined(_MSC_VER)