Skip to content
Snippets Groups Projects
Commit dc8d01ac authored by Henrik (Grubba) Grubbström's avatar Henrik (Grubba) Grubbström
Browse files

Fixed signed/unsigned bug.

Rev: src/modules/_Image_JPEG/image_jpeg.c:1.8
parent 930555bd
No related branches found
No related tags found
No related merge requests found
......@@ -185,7 +185,7 @@ static void my_skip_input_data(struct jpeg_decompress_struct *cinfo,
{
struct my_source_mgr *sm=(struct my_source_mgr *)cinfo->src;
if (num_bytes>sm->pub.bytes_in_buffer)
if (((unsigned long)num_bytes)>sm->pub.bytes_in_buffer)
num_bytes=sm->pub.bytes_in_buffer;
sm->pub.next_input_byte += (size_t) num_bytes;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment