Index: trunk/psLib/src/dataIO/psFits.c
===================================================================
--- trunk/psLib/src/dataIO/psFits.c	(revision 3851)
+++ trunk/psLib/src/dataIO/psFits.c	(revision 3970)
@@ -7,6 +7,6 @@
  *  @author Robert DeSonia, MHPCC
  *
- *  @version $Revision: 1.29 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2005-05-05 21:25:47 $
+ *  @version $Revision: 1.30 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2005-05-19 02:09:39 $
  *
  *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
@@ -19,5 +19,5 @@
 #include "psError.h"
 #include "psFileUtilsErrors.h"
-#include "psImageExtraction.h"
+#include "psImageStructManip.h"
 #include "psMemory.h"
 #include "psString.h"
@@ -1005,5 +1005,8 @@
     if (dx != numCols || dy != numRows) {
         // the input image needs to be subsetted
-        subset = psImageSubset((psImage*)input,0,0,dx+1,dy+1);
+        subset = psImageSubset((psImage*)input,(psRegion) {
+                                   0,0,dx+1,dy+1
+                               }
+                              );
     } else {
         subset = psMemIncrRefCounter((psImage*)input);
