Index: trunk/psLib/src/fits/psFitsImage.c
===================================================================
--- trunk/psLib/src/fits/psFitsImage.c	(revision 8412)
+++ trunk/psLib/src/fits/psFitsImage.c	(revision 8627)
@@ -7,6 +7,6 @@
  *  @author Robert DeSonia, MHPCC
  *
- *  @version $Revision: 1.13 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2006-08-17 22:15:17 $
+ *  @version $Revision: 1.14 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2006-08-26 04:34:28 $
  *
  *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
@@ -450,6 +450,6 @@
     if (z >= nAxes[2]) {
         psError(PS_ERR_BAD_PARAMETER_SIZE, true,
-                _("Current FITS HDU has %d z-planes, but z-plane %d was specified."),
-                nAxes[2],z);
+                _("Current FITS HDU has %ld z-planes, but z-plane %d was specified."),
+                nAxes[2], z);
         return false;
     }
@@ -472,5 +472,5 @@
             lastPixel[1] < 1 || lastPixel[1] > nAxes[1]) {
         psError(PS_ERR_BAD_PARAMETER_VALUE, true,
-                "Input image [size of %ix%i] at position (%i,%i) does not all lay in the %ix%i FITS image.",
+                "Input image [size of %ix%i] at position (%i,%i) does not all lay in the %lix%li FITS image.",
                 numCols, numRows,
                 x0, y0,
