Index: trunk/psLib/src/imageops/psImageGeomManip.c
===================================================================
--- trunk/psLib/src/imageops/psImageGeomManip.c	(revision 12814)
+++ trunk/psLib/src/imageops/psImageGeomManip.c	(revision 12815)
@@ -10,6 +10,6 @@
  *  @author Ross Harman, MHPCC
  *
- *  @version $Revision: 1.40 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2007-04-05 00:17:29 $
+ *  @version $Revision: 1.41 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2007-04-12 18:55:10 $
  *
  *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
@@ -745,6 +745,6 @@
         // create the output image.
         output = psImageRecycle(output, numCols, numRows, input->type.type);
-        output->col0 = region.x0;
-        output->row0 = region.y0;
+	P_PSIMAGE_SET_COL0(output, region.x0);
+	P_PSIMAGE_SET_ROW0(output, region.y0);
     } else { // size of output is determined by output parameter
         numRows = output->numRows;
Index: trunk/psLib/src/types/psPixels.c
===================================================================
--- trunk/psLib/src/types/psPixels.c	(revision 12814)
+++ trunk/psLib/src/types/psPixels.c	(revision 12815)
@@ -7,6 +7,6 @@
  *  @author Robert DeSonia, MHPCC
  *
- *  @version $Revision: 1.33 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2007-03-08 22:12:56 $
+ *  @version $Revision: 1.34 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2007-04-12 18:55:33 $
  *
  *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
@@ -211,6 +211,6 @@
         return NULL;
     }
-    *(psS32*)&out->row0 = (int)y0;
-    *(psS32*)&out->col0 = (int)x0;
+    P_PSIMAGE_SET_COL0(out, (int)x0);
+    P_PSIMAGE_SET_ROW0(out, (int)y0);
 
     // initialize image to all zeros
