blob: ae272a47922106821500fdca97c8744bd8f4a3bf (
plain)
1 ===================================================================
2 RCS file: /cvsroot/libexif/libexif/libexif/exif-data.c,v
3 retrieving revision 1.67
4 retrieving revision 1.68
5 diff -u -r1.67 -r1.68
6 --- libexif/libexif/libexif/exif-data.c 2005/03/09 22:11:48 1.67
7 +++ libexif/libexif/libexif/exif-data.c 2005/03/13 19:56:13 1.68
8 @@ -231,7 +231,7 @@
9 * the offset must be an even number. If we need to introduce
10 * a padding byte, we set it to 0.
11 */
12 - if (s & 1) *ds++;
13 + if (s & 1) (*ds)++;
14 *d = exif_mem_realloc (data->priv->mem, *d, *ds);
15 if (!*d) {
16 EXIF_LOG_NO_MEMORY (data->priv->log, "ExifData", *ds);
|