[Scummvm-cvs-logs] scummvm master -> 58b4cc02205569689a71cfe57bd364de7145a7ae

fingolfin max at quendi.de
Tue Apr 12 17:10:37 CEST 2011


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
58b4cc0220 COMMON: Use correct MKTAG definition, stupid


Commit: 58b4cc02205569689a71cfe57bd364de7145a7ae
    https://github.com/scummvm/scummvm/commit/58b4cc02205569689a71cfe57bd364de7145a7ae
Author: Max Horn (max at quendi.de)
Date: 2011-04-12T08:04:49-07:00

Commit Message:
COMMON: Use correct MKTAG definition, stupid

Changed paths:
    common/endian.h



diff --git a/common/endian.h b/common/endian.h
index 02b986d..4dbe8e0 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






More information about the Scummvm-git-logs mailing list