IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 6116


Ignore:
Timestamp:
Jan 20, 2006, 8:47:19 PM (21 years ago)
Author:
magnier
Message:

made memory traces 64-bit compatible

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_rel9_p0/psModules/src/astrom/pmFPA.c

    r6113 r6116  
    1212* XXX: Should we implement non-linear cell->chip transforms?
    1313*
    14 *  @version $Revision: 1.1.2.3 $ $Name: not supported by cvs2svn $
    15 *  @date $Date: 2006-01-21 04:33:38 $
     14*  @version $Revision: 1.1.2.4 $ $Name: not supported by cvs2svn $
     15*  @date $Date: 2006-01-21 06:47:19 $
    1616*
    1717*  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    3636{
    3737    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);
    3939        if (readout->parent) {
    4040            psArray *readouts = readout->parent->readouts;
     
    4646            }
    4747        }
    48         psTrace(__func__, 9, "Freeing readout %x\n", (unsigned)readout);
     48        psTrace(__func__, 9, "Freeing readout %lx\n", (size_t) readout);
    4949        psFree(readout->image);
    5050        psFree(readout->mask);
     
    6262{
    6363    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);
    6565        if (cell->parent) {
    6666            psArray *cells = cell->parent->cells;
     
    7272            }
    7373        }
    74         psTrace(__func__, 9, "Freeing cell %x\n", (unsigned)cell);
     74        psTrace(__func__, 9, "Freeing cell %lx\n", (size_t)cell);
    7575        psFree(cell->toChip);
    7676        psFree(cell->toFPA);
     
    9090            tmpReadout->parent = NULL;
    9191            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);
    9393                psFree(tmpReadout);
    9494            }
     
    104104{
    105105    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);
    107107        if (chip->parent) {
    108108            psArray *chips = chip->parent->chips;
     
    114114            }
    115115        }
    116         psTrace(__func__, 9, "Freeing chip %x\n", (unsigned)chip);
     116        psTrace(__func__, 9, "Freeing chip %lx\n", (size_t)chip);
    117117
    118118        psFree(chip->toFPA);
     
    145145{
    146146    if (fpa != NULL) {
    147         psTrace(__func__, 9, "Freeing fpa %x\n", (unsigned)fpa);
     147        psTrace(__func__, 9, "Freeing fpa %lx\n", (size_t)fpa);
    148148        psFree(fpa->fromTangentPlane);
    149149        psFree(fpa->toTangentPlane);
Note: See TracChangeset for help on using the changeset viewer.