aboutsummaryrefslogtreecommitdiff
path: root/lib/libexif
diff options
context:
space:
mode:
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))