IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 18907


Ignore:
Timestamp:
Aug 4, 2008, 4:36:25 PM (18 years ago)
Author:
Paul Price
Message:

Casting away const to satisfy compiler.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/objects/pmFootprintFind.c

    r18902 r18907  
    44 * @author RHL, Princeton & IfA; EAM, IfA
    55 *
    6  * @version $Revision: 1.5 $ $Name: not supported by cvs2svn $
    7  * @date $Date: 2008-08-05 02:09:30 $
     6 * @version $Revision: 1.6 $ $Name: not supported by cvs2svn $
     7 * @date $Date: 2008-08-05 02:36:25 $
    88 * Copyright 2006 Institute for Astronomy, University of Hawaii
    99 */
     
    8282   assert(img != NULL);
    8383
    84    psImage *floatImg = img->type.type == PS_TYPE_F32 ? psMemIncrRefCounter(img) :
    85        psImageCopy(NULL, img, PS_TYPE_F32); // Floating-point version of image
     84   psImage *floatImg = img->type.type == PS_TYPE_F32 ? psMemIncrRefCounter((psImage*)img) :
     85       psImageCopy(NULL, img, PS_TYPE_F32); // Floating-point version of image; casting away const
    8686
    8787   const int row0 = img->row0;
Note: See TracChangeset for help on using the changeset viewer.