IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 16123


Ignore:
Timestamp:
Jan 17, 2008, 3:07:31 PM (18 years ago)
Author:
Paul Price
Message:

Adding truncation warning.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/pap_branch_080117/psLib/src/fits/psFitsImage.c

    r16122 r16123  
    77 *  @author Robert DeSonia, MHPCC
    88 *
    9  *  @version $Revision: 1.23.2.1 $ $Name: not supported by cvs2svn $
    10  *  @date $Date: 2008-01-18 01:04:21 $
     9 *  @version $Revision: 1.23.2.2 $ $Name: not supported by cvs2svn $
     10 *  @date $Date: 2008-01-18 01:07:31 $
    1111 *
    1212 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    337337    }
    338338
     339    if (PSELEMTYPE_SIZEOF(inType) > PSELEMTYPE_SIZEOF(outType)) {
     340        psWarning("Truncating image pixels to write to disk.");
     341    }
     342
    339343    return psImageCopy(NULL, image, outType);
    340344}
Note: See TracChangeset for help on using the changeset viewer.