Type data pointer variables as uint8_t.

This commit is contained in:
Justin Maggard
2014-04-25 14:30:38 -07:00
parent 381c4805e6
commit be5f4a50eb
8 changed files with 13 additions and 16 deletions

View File

@ -630,7 +630,7 @@ GetImageMetadata(const char *path, char *name)
/* We might need to verify that the thumbnail is 160x160 or smaller */
if( ed->size > 12000 )
{
imsrc = image_new_from_jpeg(NULL, 0, (char *)ed->data, ed->size, 1, ROTATE_NONE);
imsrc = image_new_from_jpeg(NULL, 0, ed->data, ed->size, 1, ROTATE_NONE);
if( imsrc )
{
if( (imsrc->width <= 160) && (imsrc->height <= 160) )