From 081ba99229e25db4418a2f4e63b71784d4d81e32 Mon Sep 17 00:00:00 2001 From: jcsjcs Date: Sun, 19 Feb 2006 10:13:17 +0000 Subject: * libgpod-1.0.pc: added gobject-2.0 to 'Requires:' list * src/db-itunes-parser.h: add '#pragma pack(4)' to fix 64bit issue with padding (at least as a temporary fix). git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1206 f01d2545-417e-4e96-918e-98f8d0dbbcb6 --- src/db-itunes-parser.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src') diff --git a/src/db-itunes-parser.h b/src/db-itunes-parser.h index 54ef6b5..a51af8b 100644 --- a/src/db-itunes-parser.h +++ b/src/db-itunes-parser.h @@ -29,6 +29,12 @@ #include /*#include "ipod-db-parser.h"*/ +/* Make sure that 64bit integers do not get padded */ +/* FIXME: Obviously, this could also affect 16bit and 32bit integers, + but so far all 32bit inters seem to be aligned correctly without + padding. */ +#pragma pack(4) + #define ITUNESDB_MAX_SIZE 10 * 1024 * 1024 struct _MHeader { -- cgit