diff options
Diffstat (limited to 'source/blender/imbuf/intern/imbuf.h')
-rw-r--r-- | source/blender/imbuf/intern/imbuf.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/imbuf/intern/imbuf.h b/source/blender/imbuf/intern/imbuf.h index 1546c2790d7..514b6a24cf0 100644 --- a/source/blender/imbuf/intern/imbuf.h +++ b/source/blender/imbuf/intern/imbuf.h @@ -43,7 +43,8 @@ #endif #define SWAP_SHORT(x) (((x & 0xff) << 8) | ((x >> 8) & 0xff)) -#define SWAP_LONG(x) (((x) << 24) | (((x) & 0xff00) << 8) | (((x) >> 8) & 0xff00) | (((x) >> 24) & 0xff)) +#define SWAP_LONG(x) \ + (((x) << 24) | (((x)&0xff00) << 8) | (((x) >> 8) & 0xff00) | (((x) >> 24) & 0xff)) #define ENDIAN_NOP(x) (x) @@ -61,4 +62,4 @@ #define IMB_DPI_DEFAULT 72.0f -#endif /* __IMBUF_H__ */ +#endif /* __IMBUF_H__ */ |