IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 29, 2006, 11:39:44 AM (20 years ago)
Author:
jhoblitt
Message:

fix a wide range of format string errors

Location:
trunk/psModules/src/objects
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/objects/pmPSFtry.c

    r8436 r8669  
    55 *  @author EAM, IfA
    66 *
    7  *  @version $Revision: 1.13 $ $Name: not supported by cvs2svn $
    8  *  @date $Date: 2006-08-21 14:52:02 $
     7 *  @version $Revision: 1.14 $ $Name: not supported by cvs2svn $
     8 *  @date $Date: 2006-08-29 21:39:44 $
    99 *
    1010 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    128128        Next ++;
    129129    }
    130     psLogMsg ("psphot.psftry", 4, "fit ext:   %f sec for %d of %d sources\n", psTimerMark ("fit"), Next, sources->n);
    131     psTrace ("psphot.psftry", 3, "keeping %d of %d PSF candidates (EXT)\n", Next, sources->n);
     130    psLogMsg ("psphot.psftry", 4, "fit ext:   %f sec for %d of %ld sources\n", psTimerMark ("fit"), Next, sources->n);
     131    psTrace ("psphot.psftry", 3, "keeping %d of %ld PSF candidates (EXT)\n", Next, sources->n);
    132132
    133133    // stage 2: construct a psf (pmPSF) from this collection of model fits
     
    184184    psfTry->psf->nPSFstars = Npsf;
    185185
    186     psLogMsg ("psphot.psftry", 4, "fit psf:   %f sec for %d of %d sources\n", psTimerMark ("fit"), Npsf, sources->n);
    187     psTrace ("psphot.psftry", 3, "keeping %d of %d PSF candidates (PSF)\n", Npsf, sources->n);
     186    psLogMsg ("psphot.psftry", 4, "fit psf:   %f sec for %d of %ld sources\n", psTimerMark ("fit"), Npsf, sources->n);
     187    psTrace ("psphot.psftry", 3, "keeping %d of %ld PSF candidates (PSF)\n", Npsf, sources->n);
    188188
    189189    // measure the chi-square trend as a function of flux (PAR[1])
  • trunk/psModules/src/objects/pmPeaks.c

    r8422 r8669  
    66 *  @author EAM, IfA: significant modifications.
    77 *
    8  *  @version $Revision: 1.7 $ $Name: not supported by cvs2svn $
    9  *  @date $Date: 2006-08-18 14:13:29 $
     8 *  @version $Revision: 1.8 $ $Name: not supported by cvs2svn $
     9 *  @date $Date: 2006-08-29 21:39:44 $
    1010 *
    1111 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    543543    output->n = 0;
    544544
    545     psTrace (".pmObjects.pmCullPeaks", 3, "list size is %d\n", peaks->n);
     545    psTrace (".pmObjects.pmCullPeaks", 3, "list size is %ld\n", peaks->n);
    546546
    547547    for (int i = 0; i < peaks->n; i++) {
  • trunk/psModules/src/objects/pmSourceIO.c

    r7725 r8669  
    33 *  @author EAM, IfA
    44 *
    5  *  @version $Revision: 1.8 $ $Name: not supported by cvs2svn $
    6  *  @date $Date: 2006-06-28 19:21:00 $
     5 *  @version $Revision: 1.9 $ $Name: not supported by cvs2svn $
     6 *  @date $Date: 2006-08-29 21:39:44 $
    77 *
    88 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    7070
    7171    if (view->chip >= fpa->chips->n) {
    72         psError(PS_ERR_UNKNOWN, false, "Writing chip == %d (>= chips->n == %d)", view->chip, fpa->chips->n);
     72        psError(PS_ERR_UNKNOWN, false, "Writing chip == %d (>= chips->n == %ld)", view->chip, fpa->chips->n);
    7373        return false;
    7474    }
     
    8484
    8585    if (view->cell >= chip->cells->n) {
    86         psError(PS_ERR_UNKNOWN, false, "Writing cell == %d (>= cells->n == %d)",
     86        psError(PS_ERR_UNKNOWN, false, "Writing cell == %d (>= cells->n == %ld)",
    8787                view->cell, chip->cells->n);
    8888        return false;
     
    100100
    101101    if (view->readout >= cell->readouts->n) {
    102         psError(PS_ERR_UNKNOWN, false, "Writing readout == %d (>= readouts->n == %d)",
     102        psError(PS_ERR_UNKNOWN, false, "Writing readout == %d (>= readouts->n == %ld)",
    103103                view->readout, cell->readouts->n);
    104104        return false;
Note: See TracChangeset for help on using the changeset viewer.