diff options
author | 2016-07-31 16:47:26 +0200 | |
---|---|---|
committer | 2016-07-31 16:47:26 +0200 | |
commit | f127621e13050aad6b455ebfadec5bfdcbdd00d4 (patch) | |
tree | 0601ca3093ab58610f108f93167d344151b2d4e5 /src/lib/util/png.cpp | |
parent | eaa70ae0313eb1135ba63814f07f7e22c766a504 (diff) |
made constexprs lower case and used constexpr for returning input value as well for rest of defines in osdcomm.h (nw)
Diffstat (limited to 'src/lib/util/png.cpp')
-rw-r--r-- | src/lib/util/png.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/util/png.cpp b/src/lib/util/png.cpp index 73c43e9cf90..11c0bb4db7b 100644 --- a/src/lib/util/png.cpp +++ b/src/lib/util/png.cpp @@ -62,13 +62,13 @@ static inline UINT8 fetch_8bit(UINT8 *v) #ifdef UNUSED_FUNCTION static inline UINT16 fetch_16bit(UINT8 *v) { - return BIG_ENDIANIZE_INT16(*(UINT16 *)v); + return big_endianize_int16(*(UINT16 *)v); } #endif static inline UINT32 fetch_32bit(UINT8 *v) { - return BIG_ENDIANIZE_INT32(*(UINT32 *)v); + return big_endianize_int32(*(UINT32 *)v); } @@ -81,13 +81,13 @@ static inline void put_8bit(UINT8 *v, UINT8 data) #ifdef UNUSED_FUNCTION static inline void put_16bit(UINT8 *v, UINT16 data) { - *(UINT16 *)v = BIG_ENDIANIZE_INT16(data); + *(UINT16 *)v = big_endianize_int16(data); } #endif static inline void put_32bit(UINT8 *v, UINT32 data) { - *(UINT32 *)v = BIG_ENDIANIZE_INT32(data); + *(UINT32 *)v = big_endianize_int32(data); } |