Index: trunk/psLib/src/fits/psFits.c
===================================================================
--- trunk/psLib/src/fits/psFits.c	(revision 4342)
+++ trunk/psLib/src/fits/psFits.c	(revision 4343)
@@ -7,6 +7,6 @@
  *  @author Robert DeSonia, MHPCC
  *
- *  @version $Revision: 1.37 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2005-06-22 02:05:41 $
+ *  @version $Revision: 1.38 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2005-06-22 03:00:27 $
  *
  *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
@@ -794,6 +794,6 @@
 }
 
-bool psFitsWriteImage(const psFits* fits,
-                      const psMetadata* header,
+bool psFitsWriteImage(psFits* fits,
+                      psMetadata* header,
                       const psImage* input,
                       int numZPlanes)
@@ -845,5 +845,5 @@
     // write the header, if any.
     if (header != NULL) {
-        psFitsWriteHeader(header, fits);
+        psFitsWriteHeader(header, (psPtr)fits);
     }
 
@@ -1020,5 +1020,5 @@
 
 bool psFitsWriteHeader(const psMetadata* output,
-                       const psFits* fits)
+                       psFits* fits)
 {
 
@@ -1446,7 +1446,7 @@
 }
 
-bool psFitsWriteTable(const psFits* fits,
-                      psMetadata* header,
-                      psArray* table)
+bool psFitsWriteTable(psFits* fits,
+                      const psMetadata* header,
+                      const psArray* table)
 {
     int status = 0;
@@ -1634,6 +1634,6 @@
 }
 
-bool psFitsUpdateTable(const psFits* fits,
-                       psMetadata* data,
+bool psFitsUpdateTable(psFits* fits,
+                       const psMetadata* data,
                        int row)
 {
@@ -1668,5 +1668,5 @@
     }
 
-    psMetadataIterator* iter = psMetadataIteratorAlloc(data,PS_LIST_HEAD,NULL);
+    psMetadataIterator* iter = psMetadataIteratorAlloc((psPtr)data,PS_LIST_HEAD,NULL);
 
     psMetadataItem* item;
Index: trunk/psLib/src/fits/psFits.h
===================================================================
--- trunk/psLib/src/fits/psFits.h	(revision 4342)
+++ trunk/psLib/src/fits/psFits.h	(revision 4343)
@@ -7,6 +7,6 @@
  *  @author Robert DeSonia, MHPCC
  *
- *  @version $Revision: 1.18 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2005-06-22 02:05:41 $
+ *  @version $Revision: 1.19 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2005-06-22 03:00:27 $
  *
  *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
@@ -156,5 +156,5 @@
 bool psFitsWriteHeader(
     const psMetadata* output,          ///< the psMetadata data in which to write
-    const psFits* fits                 ///< the psFits object
+    psFits* fits                       ///< the psFits object
 );
 
@@ -175,6 +175,6 @@
  */
 bool psFitsWriteImage(
-    const psFits* fits,                ///< the psFits object
-    const psMetadata* header,          ///< header items for the new HDU.  Can be NULL.
+    psFits* fits,                      ///< the psFits object
+    psMetadata* header,                ///< header items for the new HDU.  Can be NULL.
     const psImage* input,              ///< the image to output
     int depth                          ///< the number of z-planes of the FITS image data cube
@@ -245,7 +245,7 @@
  */
 bool psFitsWriteTable(
-    const psFits* fits,                ///< the psFits object
-    psMetadata* header,                ///< header items for the new HDU.  Can be NULL.
-    psArray* table
+    psFits* fits,                      ///< the psFits object
+    const psMetadata* header,          ///< header items for the new HDU.  Can be NULL.
+    const psArray* table
     ///< Array of psMetadata items, which contains the output data items of each row.
 );
@@ -259,6 +259,6 @@
  */
 bool psFitsUpdateTable(
-    const psFits* fits,                ///< the psFits object
-    psMetadata* data,
+    psFits* fits,                ///< the psFits object
+    const psMetadata* data,
     ///< Array of psMetadata items, which contains the output data items of each row.
     int row                            ///< the row number to update.
