changeset 244:7754bfc0d98a

Fix a signedness warning.
author zas_
date Thu, 03 Apr 2008 22:01:08 +0000
parents 16ceff6d6e1b
children 62f2f8f7cb2d
files src/image.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/image.c	Thu Apr 03 21:54:23 2008 +0000
+++ b/src/image.c	Thu Apr 03 22:01:08 2008 +0000
@@ -383,11 +383,11 @@
 
 	if (item && exif_item_get_format_id(item) == EXIF_FORMAT_UNDEFINED)
 		{
-		char *data;
+		unsigned char *data;
 		guint data_len;
 		if (debug) printf("Found embedded color profile\n");
 		
-		data = exif_item_get_data(item, &data_len);
+		data = (unsigned char *) exif_item_get_data(item, &data_len);
 
 		cm = color_man_new_embedded(imd, NULL,
 					    data, data_len,