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 4dbe8e08c5..e6c39d3a4c 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) ((a3) | ((a2) << 8) | ((a1) << 16) | ((a0) << 24)) +#define MKTAG(a0,a1,a2,a3) ((uint32)((a3) | ((a2) << 8) | ((a1) << 16) | ((a0) << 24))) // Functions for reading/writing native Integers, // this transparently handles the need for alignment |