IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 12, 2006, 10:44:04 AM (20 years ago)
Author:
magnier
Message:

replaced dangerous code with P_PSIMAGE_SET_NUMCOLS, etc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/imageops/psImageGeomManip.c

    r7380 r7524  
    1010 *  @author Ross Harman, MHPCC
    1111 *
    12  *  @version $Revision: 1.24 $ $Name: not supported by cvs2svn $
    13  *  @date $Date: 2006-06-07 03:22:06 $
     12 *  @version $Revision: 1.25 $ $Name: not supported by cvs2svn $
     13 *  @date $Date: 2006-06-12 20:44:04 $
    1414 *
    1515 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    776776        // create the output image.
    777777        output = psImageRecycle(output, numCols, numRows, input->type.type);
    778         *(psS32*)&output->col0 = region.x0;
    779         *(psS32*)&output->row0 = region.y0;
     778        output->col0 = region.x0;
     779        output->row0 = region.y0;
    780780    } else { // size of output is determined by output parameter
    781781        numRows = output->numRows;
Note: See TracChangeset for help on using the changeset viewer.