From c88c7b8f003084c2e701a775553ba41e139d61ff Mon Sep 17 00:00:00 2001 From: Jorg Schuler 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 --- ChangeLog | 7 +++++++ src/db-itunes-parser.h | 6 ++++++ 2 files changed, 13 insertions(+) diff --git a/ChangeLog b/ChangeLog index 34b06e0..3d35af9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2005-02-14 Jorg Schuler + + * 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). + 2005-02-14 Jorg Schuler * po/ja.po: updated Japanese catalog -- thanks to Kentaro Fukuchi 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