summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorteuf <teuf@f01d2545-417e-4e96-918e-98f8d0dbbcb6>2008-10-08 18:43:20 +0000
committerteuf <teuf@f01d2545-417e-4e96-918e-98f8d0dbbcb6>2008-10-08 18:43:20 +0000
commitf94cb0797c92ec9276834830ee4980259b2a9e4c (patch)
tree568cc17e623ed5ff11ed9d83dfd9db6ccb6c64e9 /src
parent27a4d6d54c9d22993d5e29f4d082a05931a122ce (diff)
downloadlibgpod-tmz-f94cb0797c92ec9276834830ee4980259b2a9e4c.tar.gz
libgpod-tmz-f94cb0797c92ec9276834830ee4980259b2a9e4c.tar.xz
libgpod-tmz-f94cb0797c92ec9276834830ee4980259b2a9e4c.zip
Fix data sizes used in Itdb_ArtworkFormat
The mostly automated SysInfoExtended parser expects the fields in the Itdb_ArtworkFormat structure to be of type gint. They used to be of type gin which led to random overwriting of their value since the parser expected the to be bigger than they really are. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@2139 f01d2545-417e-4e96-918e-98f8d0dbbcb6
Diffstat (limited to 'src')
-rw-r--r--src/itdb_device.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/itdb_device.h b/src/itdb_device.h
index 26226eb..d461994 100644
--- a/src/itdb_device.h
+++ b/src/itdb_device.h
@@ -95,9 +95,9 @@ struct _Itdb_Device
};
struct _Itdb_ArtworkFormat {
- gint16 format_id;
- gint16 width;
- gint16 height;
+ gint format_id;
+ gint width;
+ gint height;
ItdbThumbFormat format;
gint32 padding; /* not found in SysInfoExtended, added
* for compatibility with hardcoded artwork formats */