View | Details | Raw Unified | Return to bug 11348
Collapse All | Expand All

(-)imlib2-1.3.0/src/modules/loaders/loader_tiff.c (-1 / +1 lines)
Lines 93-99 Link Here
93
93
94
   for (i = y, rast_offset = 0; i > dy; i--, rast_offset--)
94
   for (i = y, rast_offset = 0; i > dy; i--, rast_offset--)
95
     {
95
     {
96
        pixel = rast + (rast_offset * image_width);
96
        pixel = rast + (rast_offset * (int)image_width);
97
        buffer_pixel = buffer + ((((image_height - 1) - i) * image_width) + x);
97
        buffer_pixel = buffer + ((((image_height - 1) - i) * image_width) + x);
98
98
99
        for (j = 0; j < w; j++)
99
        for (j = 0; j < w; j++)

Return to bug 11348