diff options
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | src/db-itunes-parser.h | 6 |
2 files changed, 13 insertions, 0 deletions
@@ -1,5 +1,12 @@ 2005-02-14 Jorg Schuler <jcsjcs at users.sourceforge.net> + * 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 <jcsjcs at users.sourceforge.net> + * po/ja.po: updated Japanese catalog -- thanks to Kentaro Fukuchi * src/ipod-device.c: (ipod_device_set_property): fixed bug that 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 <glib.h> /*#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 { |