diff options
-rw-r--r-- | common/endian.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/endian.h b/common/endian.h index 02b986d10b..4dbe8e08c5 100644 --- a/common/endian.h +++ b/common/endian.h @@ -147,7 +147,7 @@ * be used for character constants. Hence if one uses multi-byte character * constants, a potential portability problem opens up. */ -#define MKTAG(a0,a1,a2,a3) ((a0) | ((a1) << 8) | ((a2) << 16) | ((a3) << 24)) +#define MKTAG(a0,a1,a2,a3) ((a3) | ((a2) << 8) | ((a1) << 16) | ((a0) << 24)) // Functions for reading/writing native Integers, // this transparently handles the need for alignment |