Index: trunk/psModules/src/objects/pmFootprintFind.c
===================================================================
--- trunk/psModules/src/objects/pmFootprintFind.c	(revision 18902)
+++ trunk/psModules/src/objects/pmFootprintFind.c	(revision 18907)
@@ -4,6 +4,6 @@
  * @author RHL, Princeton & IfA; EAM, IfA
  *
- * @version $Revision: 1.5 $ $Name: not supported by cvs2svn $
- * @date $Date: 2008-08-05 02:09:30 $
+ * @version $Revision: 1.6 $ $Name: not supported by cvs2svn $
+ * @date $Date: 2008-08-05 02:36:25 $
  * Copyright 2006 Institute for Astronomy, University of Hawaii
  */
@@ -82,6 +82,6 @@
    assert(img != NULL);
 
-   psImage *floatImg = img->type.type == PS_TYPE_F32 ? psMemIncrRefCounter(img) :
-       psImageCopy(NULL, img, PS_TYPE_F32); // Floating-point version of image
+   psImage *floatImg = img->type.type == PS_TYPE_F32 ? psMemIncrRefCounter((psImage*)img) :
+       psImageCopy(NULL, img, PS_TYPE_F32); // Floating-point version of image; casting away const
 
    const int row0 = img->row0;
