From: Lutz M?l. <lu...@us...> - 2003-10-30 17:43:55
|
Update of /cvsroot/libexif/libexif/libexif In directory sc8-pr-cvs1:/tmp/cvs-serv6092/libexif Modified Files: exif-data.c Log Message: 2003-10-30 Lutz Mueller <lu...@us...> * libexif/exif-data.c: Add explicit typecasts to ExifShort. Suggested by Jan Patera <pa...@pi...>. Index: exif-data.c =================================================================== RCS file: /cvsroot/libexif/libexif/libexif/exif-data.c,v retrieving revision 1.32 retrieving revision 1.33 diff -u -d -r1.32 -r1.33 --- exif-data.c 27 Oct 2003 22:34:29 -0000 1.32 +++ exif-data.c 30 Oct 2003 17:43:52 -0000 1.33 @@ -158,9 +158,9 @@ * already been allocated. */ exif_set_short (*d + 6 + offset + 0, - data->priv->order, e->tag); + data->priv->order, (ExifShort) e->tag); exif_set_short (*d + 6 + offset + 2, - data->priv->order, e->format); + data->priv->order, (ExifShort) e->format); exif_set_long (*d + 6 + offset + 4, data->priv->order, e->components); @@ -353,7 +353,7 @@ /* Save the number of entries */ exif_set_short (*d + 6 + offset, data->priv->order, - ifd->count + n_ptr + n_thumb); + (ExifShort) (ifd->count + n_ptr + n_thumb)); offset += 2; #ifdef DEBUG |