Permalink
Browse files

Fixed Iptc parser under 64bit linux

  • Loading branch information...
1 parent d90fae6 commit 62573256432d5efeefaf724c018e902b4072c1c6 @fetzerch fetzerch committed with spiff Oct 22, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/libexif/IptcParse.cpp
View
2 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))

0 comments on commit 6257325

Please sign in to comment.