diff options
author | Max Horn | 2011-04-12 17:23:21 +0200 |
---|---|---|
committer | Max Horn | 2011-04-12 17:23:21 +0200 |
commit | f1471689cf6b11412da0d8d09526a558ff33e9d0 (patch) | |
tree | 249159c1f03ef9e8fc9d2f2c5942523aa300c3b5 | |
parent | 58b4cc02205569689a71cfe57bd364de7145a7ae (diff) | |
download | scummvm-rg350-f1471689cf6b11412da0d8d09526a558ff33e9d0.tar.gz scummvm-rg350-f1471689cf6b11412da0d8d09526a558ff33e9d0.tar.bz2 scummvm-rg350-f1471689cf6b11412da0d8d09526a558ff33e9d0.zip |
COMMON: Let MKTAG always return an uint32
-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 |