44d718a
diff -ru q-7.11.orig/modules/magick/magick.c q-7.11/modules/magick/magick.c
44d718a
--- q-7.11.orig/modules/magick/magick.c	2009-03-05 16:21:46.000000000 +0000
44d718a
+++ q-7.11/modules/magick/magick.c	2009-03-05 16:24:48.000000000 +0000
44d718a
@@ -2861,7 +2861,7 @@
44d718a
     if (m2)
44d718a
       set_pixels(&target, m2->v, 1, 1);
44d718a
     else {
44d718a
-      target = AcquireOnePixel(img, x, y, &exception);
44d718a
+      AcquireOnePixel(img, x, y, &target, &exception);
44d718a
       if (check_exception(&exception)) {
44d718a
 	DestroyDrawInfo(draw_info);
44d718a
 	return mkapp(mksym(sym(magick_error)), mkstr(sys_to_utf8(msg)));
44d718a
@@ -2898,7 +2898,7 @@
44d718a
     if (m2)
44d718a
       set_pixels(&target, m2->v, 1, 1);
44d718a
     else {
44d718a
-      target = AcquireOnePixel(img, x, y, &exception);
44d718a
+      AcquireOnePixel(img, x, y, &target, &exception);
44d718a
       if (check_exception(&exception))
44d718a
 	return mkapp(mksym(sym(magick_error)), mkstr(sys_to_utf8(msg)));
44d718a
     }