diff src/format_raw.c @ 749:f606e8962329

Silent few warnings that appeared when using --disable-exiv2 configure option.
author zas_
date Fri, 23 May 2008 23:18:40 +0000
parents fbebf5cf4a55
children 4fe8f9656107
line wrap: on
line diff
--- a/src/format_raw.c	Fri May 23 22:57:51 2008 +0000
+++ b/src/format_raw.c	Fri May 23 23:18:40 2008 +0000
@@ -78,7 +78,7 @@
 	FORMAT_EXIF_FUJI,
 	FORMAT_EXIF_NIKON,
 	FORMAT_EXIF_OLYMPUS,
-	{ 0, NULL, 0, NULL }
+	{ 0, NULL, 0, NULL, NULL }
 };
 
 
@@ -363,7 +363,7 @@
 
 	if (success && image_offset)
 		{
-		if (lseek(fd, *image_offset, SEEK_SET) != *image_offset)
+		if (lseek(fd, *image_offset, SEEK_SET) != (off_t) *image_offset)
 			{
 			log_printf("Failed to seek to embedded image\n");