summaryrefslogtreecommitdiffstats
path: root/src/db-itunes-parser.h
diff options
context:
space:
mode:
authorJorg Schuler <jcsjcs@users.sourceforge.net>2006-02-19 10:13:17 +0000
committerJorg Schuler <jcsjcs@users.sourceforge.net>2006-02-19 10:13:17 +0000
commitc88c7b8f003084c2e701a775553ba41e139d61ff (patch)
treef7923277c30fe640c59116f5c0f8755e0546f3af /src/db-itunes-parser.h
parentd291d989d86868f07a656e875abf025d3d4c8667 (diff)
downloadlibgpod-c88c7b8f003084c2e701a775553ba41e139d61ff.tar.gz
libgpod-c88c7b8f003084c2e701a775553ba41e139d61ff.tar.xz
libgpod-c88c7b8f003084c2e701a775553ba41e139d61ff.zip
* 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
Diffstat (limited to 'src/db-itunes-parser.h')
-rw-r--r--src/db-itunes-parser.h6
1 files changed, 6 insertions, 0 deletions
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 {