[Scummvm-cvs-logs] SF.net SVN: scummvm:[49226] scummvm/trunk/graphics/video/qt_decoder.h

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Wed May 26 08:45:57 CEST 2010


Revision: 49226
          http://scummvm.svn.sourceforge.net/scummvm/?rev=49226&view=rev
Author:   thebluegr
Date:     2010-05-26 06:45:57 +0000 (Wed, 26 May 2010)

Log Message:
-----------
Properly fixed MSVC warning C4121 (alignment of a member was sensitive to packing)

Modified Paths:
--------------
    scummvm/trunk/graphics/video/qt_decoder.h

Modified: scummvm/trunk/graphics/video/qt_decoder.h
===================================================================
--- scummvm/trunk/graphics/video/qt_decoder.h	2010-05-26 06:44:07 UTC (rev 49225)
+++ scummvm/trunk/graphics/video/qt_decoder.h	2010-05-26 06:45:57 UTC (rev 49226)
@@ -136,11 +136,15 @@
 		uint32 size;
 	};
 
+#include "common/pack-start.h"	// START STRUCT PACKING
+
 	struct ParseTable {
 		uint32 type;
 		int (QuickTimeDecoder::*func)(MOVatom atom);
-	};
+	} PACKED_STRUCT;
 
+#include "common/pack-end.h"	// END STRUCT PACKING
+
 	struct MOVstts {
 		int count;
 		int duration;


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list