comparison src/image.c @ 244:7754bfc0d98a

Fix a signedness warning.
author zas_
date Thu, 03 Apr 2008 22:01:08 +0000
parents 77f1bcc6c161
children e0e2c2b72c5a
comparison
equal deleted inserted replaced
243:16ceff6d6e1b 244:7754bfc0d98a
381 } 381 }
382 } 382 }
383 383
384 if (item && exif_item_get_format_id(item) == EXIF_FORMAT_UNDEFINED) 384 if (item && exif_item_get_format_id(item) == EXIF_FORMAT_UNDEFINED)
385 { 385 {
386 char *data; 386 unsigned char *data;
387 guint data_len; 387 guint data_len;
388 if (debug) printf("Found embedded color profile\n"); 388 if (debug) printf("Found embedded color profile\n");
389 389
390 data = exif_item_get_data(item, &data_len); 390 data = (unsigned char *) exif_item_get_data(item, &data_len);
391 391
392 cm = color_man_new_embedded(imd, NULL, 392 cm = color_man_new_embedded(imd, NULL,
393 data, data_len, 393 data, data_len,
394 screen_type, screen_file, 394 screen_type, screen_file,
395 image_post_process_color_cb, imd); 395 image_post_process_color_cb, imd);