diff options
author | scuri <scuri> | 2009-08-20 12:35:06 +0000 |
---|---|---|
committer | scuri <scuri> | 2009-08-20 12:35:06 +0000 |
commit | 5d735255ddd3cb2f547abd3d03969af3fb7eb04e (patch) | |
tree | 8fb66510bc625bb1b08ccb41f1b83fb0f7cb8f19 /src/libexif/exif-loader.c | |
parent | 35733b87eed86e5228f12fa10c98a3d9d22a6073 (diff) |
*** empty log message ***
Diffstat (limited to 'src/libexif/exif-loader.c')
-rw-r--r-- | src/libexif/exif-loader.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libexif/exif-loader.c b/src/libexif/exif-loader.c index 4e5b140..c62dcc8 100644 --- a/src/libexif/exif-loader.c +++ b/src/libexif/exif-loader.c @@ -270,7 +270,7 @@ exif_loader_write (ExifLoader *eld, unsigned char *buf, unsigned int len) default: switch (eld->b[i]) { case JPEG_MARKER_APP1: - if (!memcmp (eld->b + i + 3, ExifHeader, MIN((ssize_t)(sizeof(ExifHeader)), MAX(0, ((ssize_t)(sizeof(eld->b))) - ((ssize_t)i) - 3)))) { + if (!memcmp (eld->b + i + 3, ExifHeader, MIN((size_t)(sizeof(ExifHeader)), MAX(0, ((size_t)(sizeof(eld->b))) - ((size_t)i) - 3)))) { eld->data_format = EL_DATA_FORMAT_EXIF; } else { eld->data_format = EL_DATA_FORMAT_JPEG; /* Probably JFIF - keep searching for APP1 EXIF*/ |