--- libexif-0.6.12/libexif/exif-data.c.odd 2005-04-24 22:39:24.611317000 -0400 +++ libexif-0.6.12/libexif/exif-data.c 2005-04-24 22:39:49.290613000 -0400 @@ -231,7 +231,7 @@ * the offset must be an even number. If we need to introduce * a padding byte, we set it to 0. */ - if (s & 1) *ds++; + if (s & 1) (*ds)++; *d = exif_mem_realloc (data->priv->mem, *d, *ds); if (!*d) { EXIF_LOG_NO_MEMORY (data->priv->log, "ExifData", *ds);