diff --git a/libsrc/conversion/im_magick2vips.c b/libsrc/conversion/im_magick2vips.c index 6163301f..d00abafd 100644 --- a/libsrc/conversion/im_magick2vips.c +++ b/libsrc/conversion/im_magick2vips.c @@ -536,7 +536,7 @@ get_pixels( Image *image, int left, int top, int width, int height ) static int magick_fill_region( REGION *out, void *seq, void *a, void *b ) { - Read *read = (Read *) b; + Read *read = (Read *) a; Rect *r = &out->valid; int y;