Changeset 6116
- Timestamp:
- Jan 20, 2006, 8:47:19 PM (21 years ago)
- File:
-
- 1 edited
-
branches/eam_rel9_p0/psModules/src/astrom/pmFPA.c (modified) (9 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_rel9_p0/psModules/src/astrom/pmFPA.c
r6113 r6116 12 12 * XXX: Should we implement non-linear cell->chip transforms? 13 13 * 14 * @version $Revision: 1.1.2. 3$ $Name: not supported by cvs2svn $15 * @date $Date: 2006-01-21 0 4:33:38$14 * @version $Revision: 1.1.2.4 $ $Name: not supported by cvs2svn $ 15 * @date $Date: 2006-01-21 06:47:19 $ 16 16 * 17 17 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 36 36 { 37 37 if (readout != NULL) { 38 psTrace(__func__, 9, "Removing readout % x from cell %x...\n", (unsigned)readout, (unsigned)readout->parent);38 psTrace(__func__, 9, "Removing readout %lx from cell %lx...\n", (size_t) readout, (size_t) readout->parent); 39 39 if (readout->parent) { 40 40 psArray *readouts = readout->parent->readouts; … … 46 46 } 47 47 } 48 psTrace(__func__, 9, "Freeing readout % x\n", (unsigned)readout);48 psTrace(__func__, 9, "Freeing readout %lx\n", (size_t) readout); 49 49 psFree(readout->image); 50 50 psFree(readout->mask); … … 62 62 { 63 63 if (cell != NULL) { 64 psTrace(__func__, 9, "Removing cell % x from chip %x...\n", (unsigned)cell, (unsigned)cell->parent);64 psTrace(__func__, 9, "Removing cell %lx from chip %lx...\n", (size_t)cell, (size_t)cell->parent); 65 65 if (cell->parent) { 66 66 psArray *cells = cell->parent->cells; … … 72 72 } 73 73 } 74 psTrace(__func__, 9, "Freeing cell % x\n", (unsigned)cell);74 psTrace(__func__, 9, "Freeing cell %lx\n", (size_t)cell); 75 75 psFree(cell->toChip); 76 76 psFree(cell->toFPA); … … 90 90 tmpReadout->parent = NULL; 91 91 if (PS_FREE_HIERARCHY == 1) { 92 psTrace(__func__, 9, "Will now free readout % x...\n", (unsigned)tmpReadout);92 psTrace(__func__, 9, "Will now free readout %lx...\n", (size_t)tmpReadout); 93 93 psFree(tmpReadout); 94 94 } … … 104 104 { 105 105 if (chip != NULL) { 106 psTrace(__func__, 9, "Removing chip % x from fpa %x...\n", (unsigned)chip, (unsigned)chip->parent);106 psTrace(__func__, 9, "Removing chip %lx from fpa %lx...\n", (size_t)chip, (size_t)chip->parent); 107 107 if (chip->parent) { 108 108 psArray *chips = chip->parent->chips; … … 114 114 } 115 115 } 116 psTrace(__func__, 9, "Freeing chip % x\n", (unsigned)chip);116 psTrace(__func__, 9, "Freeing chip %lx\n", (size_t)chip); 117 117 118 118 psFree(chip->toFPA); … … 145 145 { 146 146 if (fpa != NULL) { 147 psTrace(__func__, 9, "Freeing fpa % x\n", (unsigned)fpa);147 psTrace(__func__, 9, "Freeing fpa %lx\n", (size_t)fpa); 148 148 psFree(fpa->fromTangentPlane); 149 149 psFree(fpa->toTangentPlane);
Note:
See TracChangeset
for help on using the changeset viewer.
