Index: trunk/Ohana/src/opihi/dvo/ImageOps.c
===================================================================
--- trunk/Ohana/src/opihi/dvo/ImageOps.c	(revision 14401)
+++ trunk/Ohana/src/opihi/dvo/ImageOps.c	(revision 14590)
@@ -27,5 +27,10 @@
 
   if (selection->useSkyregion) {
-    get_skyregion (&patch.Rmin, &patch.Rmax, &patch.Dmin, &patch.Dmax);
+    double Rs, Re, Ds, De;
+    get_skyregion (&Rs, &Re, &Ds, &De);
+    patch.Rmin = Rs;
+    patch.Rmax = Re;
+    patch.Dmin = Ds;
+    patch.Dmax = De;
     Rmin = patch.Rmin - 182.0;
     Rmax = patch.Rmax + 182.0;
