Skip to content

Commit

Permalink
Fix from debian bug #967971, but avoid use of "min" function which isn't
Browse files Browse the repository at this point in the history
defined everywhere
  • Loading branch information
Matthias-Wandel committed May 30, 2021
1 parent 78057ab commit ad243e4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion exif.c
Original file line number Diff line number Diff line change
Expand Up @@ -1066,7 +1066,8 @@ void process_EXIF (unsigned char * ExifSection, int length)
printf("Map: %05d- End of exif\n",length-8);
for (a=0;a<length-8;a+= 10){
printf("Map: %05d ",a);
for (b=0;b<10;b++) printf(" %02x",*(ExifSection+8+a+b));
for (b=0;b<10 && b<length-8-a;b++)
printf(" %02x",*(ExifSection+8+a+b));
printf("\n");
}
}
Expand Down

0 comments on commit ad243e4

Please sign in to comment.