aboutsummaryrefslogtreecommitdiff
path: root/lib/libexif
diff options
context:
space:
mode:
authorChristian Fetzer <fetzer.ch@googlemail.com>2011-10-22 21:18:13 +0200
committerspiff <spiff@xbmc.org>2011-10-27 23:09:49 +0200
commit62573256432d5efeefaf724c018e902b4072c1c6 (patch)
tree93f2db497852c9e062f61cc3dacb849c0f5cb3a9 /lib/libexif
parentd90fae6888da98a83a03b294009723a723cd5e3b (diff)
Fixed Iptc parser under 64bit linux
Diffstat (limited to 'lib/libexif')
-rw-r--r--lib/libexif/IptcParse.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libexif/IptcParse.cpp b/lib/libexif/IptcParse.cpp
index 732a2f3c8b..9b21c64e9d 100644
--- a/lib/libexif/IptcParse.cpp
+++ b/lib/libexif/IptcParse.cpp
@@ -107,7 +107,7 @@ bool CIptcParse::Process (const unsigned char* const Data, const unsigned short
// Get length (Motorola format)
unsigned long length = CExifParse::Get32(pos);
- pos += sizeof(long); // move data pointer to the next field
+ pos += 4; // move data pointer to the next field
// Now read IPTC data
while (pos < (char*)(Data + itemlen-5))