aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Horn2011-04-12 17:04:49 +0200
committerMax Horn2011-04-12 17:04:49 +0200
commit58b4cc02205569689a71cfe57bd364de7145a7ae (patch)
treedac6eba317423ed98b9c7e3a2469275ba62d18a7
parent0ce2ca4e006a70d787481040fa844c85aac43222 (diff)
downloadscummvm-rg350-58b4cc02205569689a71cfe57bd364de7145a7ae.tar.gz
scummvm-rg350-58b4cc02205569689a71cfe57bd364de7145a7ae.tar.bz2
scummvm-rg350-58b4cc02205569689a71cfe57bd364de7145a7ae.zip
COMMON: Use correct MKTAG definition, stupid
-rw-r--r--common/endian.h2
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