Skip to content

Commit

Permalink
COMMON: Fix some syntax issues.
Browse files Browse the repository at this point in the history
Not compile tested. Then again it didn't look test before either. So, yay!
  • Loading branch information
Johannes Schickel committed Jan 4, 2015
1 parent daa8fca commit 64bad2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/endian.h
Expand Up @@ -446,7 +446,7 @@
#ifdef HAVE_INT64
inline uint64 READ_BE_UINT64(const void *ptr) {
const uint8 *b = (const uint8 *)ptr;
return (b[0] << 56) | b[1] << 48) | b[2] << 40) | b[3] << 32) | b[4] << 24) | (b[5] << 16) | (b[6] << 8) | (b[7]);
return (b[0] << 56) | (b[1] << 48) | (b[2] << 40) | (b[3] << 32) | (b[4] << 24) | (b[5] << 16) | (b[6] << 8) | (b[7]);
}
inline void WRITE_BE_UINT64(void *ptr, uint64 value) {
uint8 *b = (uint8 *)ptr;
Expand Down

0 comments on commit 64bad2e

Please sign in to comment.