diff options
Diffstat (limited to 'graphics/dcraw/files/patch-dcraw.c')
-rw-r--r-- | graphics/dcraw/files/patch-dcraw.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/graphics/dcraw/files/patch-dcraw.c b/graphics/dcraw/files/patch-dcraw.c new file mode 100644 index 000000000000..c50b5a66847f --- /dev/null +++ b/graphics/dcraw/files/patch-dcraw.c @@ -0,0 +1,13 @@ +--- dcraw.c.orig Sat Jan 21 11:47:53 2006 ++++ dcraw.c Mon Jan 23 16:23:23 2006 +@@ -1140,8 +1140,9 @@ + void CLASS layer_thumb (FILE *tfp) + { + int i, c; ++ char *thumb; + colors = thumb_misc >> 5; +- char *thumb = malloc (thumb_length*colors); ++ thumb = malloc (thumb_length*colors); + merror (thumb, "layer_thumb()"); + fprintf (tfp, "P%d\n%d %d\n255\n", + 5 + (thumb_misc >> 6), thumb_width, thumb_height); |