IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 8, 2005, 7:58:58 AM (21 years ago)
Author:
desonia
Message:

changed name of fileUtils to dataIO to better coorespond to the latest
SDRS.

File:
1 edited

Legend:

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

    r3493 r3684  
    99 *  @author GLG, MHPCC
    1010 *
    11  *  @version $Revision: 1.70 $ $Name: not supported by cvs2svn $
    12  *  @date $Date: 2005-03-24 19:39:53 $
     11 *  @version $Revision: 1.71 $ $Name: not supported by cvs2svn $
     12 *  @date $Date: 2005-04-08 17:58:57 $
    1313 *
    1414 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    6161        junkData = (psVector *) psAlloc(sizeof(psVector));
    6262        junkData->type = in->type;
    63         junkData->nalloc = in->numRows * in->numCols;
     63        *(int*)&junkData->nalloc = in->numRows * in->numCols;
    6464        junkData->n = junkData->nalloc;
    6565        junkData->data.U8 = in->data.V[0];      // since psImage data is contiguous...
     
    8585            junkMask = psAlloc(sizeof(psVector));
    8686            junkMask->type = mask->type;
    87             junkMask->nalloc = mask->numRows * mask->numCols;
     87            *(int*)&junkMask->nalloc = mask->numRows * mask->numCols;
    8888            junkMask->n = junkMask->nalloc;
    8989            junkMask->data.U8 = mask->data.V[0];
     
    134134        junkData = (psVector *) psAlloc(sizeof(psVector));
    135135        junkData->type = in->type;
    136         junkData->nalloc = in->numRows * in->numCols;
     136        *(int*)&junkData->nalloc = in->numRows * in->numCols;
    137137        junkData->n = junkData->nalloc;
    138138        junkData->data.U8 = in->data.V[0];      // since psImage data is contiguous...
     
    158158            junkMask = psAlloc(sizeof(psVector));
    159159            junkMask->type = mask->type;
    160             junkMask->nalloc = mask->numRows * mask->numCols;
     160            *(int*)&junkMask->nalloc = mask->numRows * mask->numCols;
    161161            junkMask->n = junkMask->nalloc;
    162162            junkMask->data.U8 = mask->data.V[0];
Note: See TracChangeset for help on using the changeset viewer.