Changeset 3684 for trunk/psLib/src/image/psImageExtraction.c
- Timestamp:
- Apr 8, 2005, 7:58:58 AM (21 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/image/psImageExtraction.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/image/psImageExtraction.c
r3682 r3684 9 9 * @author Robert DeSonia, MHPCC 10 10 * 11 * @version $Revision: 1.3 4$ $Name: not supported by cvs2svn $12 * @date $Date: 2005-04-0 7 20:27:41$11 * @version $Revision: 1.35 $ $Name: not supported by cvs2svn $ 12 * @date $Date: 2005-04-08 17:58:57 $ 13 13 * 14 14 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 428 428 imgVec = psAlloc(sizeof(psVector)); 429 429 imgVec->type = in->type; 430 imgVec->n = imgVec->nalloc = numCols;430 imgVec->n = *(int*)&imgVec->nalloc = numCols; 431 431 if (mask != NULL) { 432 432 maskVec = psAlloc(sizeof(psVector)); 433 433 maskVec->type = mask->type; 434 maskVec->n = maskVec->nalloc = numCols;434 maskVec->n = *(int*)&maskVec->nalloc = numCols; 435 435 } 436 436 // recycle output to make a proper sized/type output structure
Note:
See TracChangeset
for help on using the changeset viewer.
