IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 8672


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

fix a wide range of format string errors

Location:
trunk/psphot/src
Files:
10 edited

Legend:

Unmodified
Added
Removed
  • trunk/psphot/src/psphot.c

    r7730 r8672  
    2424    // load input data (config and images (signal, noise, mask)
    2525    if (!psphotParseCamera (config)) {
    26         psErrorStackPrint(stderr, "");
     26        psErrorStackPrint(stderr, " ");
    2727        exit(1);
    2828    }
  • trunk/psphot/src/psphotApResid.c

    r8411 r8672  
    8484        Npsf ++;
    8585    }
    86     psLogMsg ("psphot.apresid", 4, "measure aperture residuals : %f sec for %d objects (%d skipped, %d failed, %d invalid)\n",
     86    psLogMsg ("psphot.apresid", 4, "measure aperture residuals : %f sec for %d objects (%d skipped, %d failed, %ld invalid)\n",
    8787              psTimerMark ("psphot"), Npsf, Nskip, Nfail, sources->n - Npsf - Nskip - Nfail);
    8888
  • trunk/psphot/src/psphotBlendFit.c

    r8138 r8672  
    8484    }
    8585
    86     psLogMsg ("psphot", 3, "fit models: %f sec for %d objects (%d psf, %d ext, %d failed, %d skipped)\n", psTimerMark ("psphot"), Nfit, Npsf, Next, Nfail, sources->n - Nfit);
     86    psLogMsg ("psphot", 3, "fit models: %f sec for %d objects (%d psf, %d ext, %d failed, %ld skipped)\n", psTimerMark ("psphot"), Nfit, Npsf, Next, Nfail, sources->n - Nfit);
    8787    return (true);
    8888}
  • trunk/psphot/src/psphotChoosePSF.c

    r8470 r8672  
    3535        if (source->mode & PM_SOURCE_MODE_PSFSTAR) psArrayAdd (stars, 200, source);
    3636    }
    37     psLogMsg ("psphot.pspsf", 4, "selected candidate %d PSF objects\n", stars->n);
     37    psLogMsg ("psphot.pspsf", 4, "selected candidate %ld PSF objects\n", stars->n);
    3838
    3939    if (stars->n == 0) {
  • trunk/psphot/src/psphotEnsemblePSF.c

    r8470 r8672  
    130130        psFree (otSource);
    131131    }
    132     psLogMsg ("psphot.emsemble", 4, "built models: %f (%d objects)\n", psTimerMark ("psphot"), sources->n);
     132    psLogMsg ("psphot.emsemble", 4, "built models: %f (%ld objects)\n", psTimerMark ("psphot"), sources->n);
    133133   
    134134    // fill out the sparse matrix
  • trunk/psphot/src/psphotFindPeaks.c

    r7758 r8672  
    6363        pmPeaksWriteText (peaks, output);
    6464    }
    65     psLogMsg ("psphot", 3, "%d peaks: %f sec\n", peaks->n, psTimerMark ("psphot"));
     65    psLogMsg ("psphot", 3, "%ld peaks: %f sec\n", peaks->n, psTimerMark ("psphot"));
    6666
    6767    return (peaks);
  • trunk/psphot/src/psphotMagnitudes.c

    r6866 r8672  
    1717    }   
    1818
    19     psLogMsg ("psphot.magnitudes", 4, "measure magnitudes : %f sec for %d objects (%d with apertures)\n", psTimerMark ("psphot"), sources->n, Nap);
     19    psLogMsg ("psphot.magnitudes", 4, "measure magnitudes : %f sec for %ld objects (%d with apertures)\n", psTimerMark ("psphot"), sources->n, Nap);
    2020    return true;
    2121}
  • trunk/psphot/src/psphotReplaceUnfit.c

    r7330 r8672  
    2020        source->mode &= ~PM_SOURCE_MODE_TEMPSUB;
    2121    }
    22     psLogMsg ("psphot.replace", 3, "replace unfitted models: %f sec (%d objects)\n", psTimerMark ("psphot"), sources->n);
     22    psLogMsg ("psphot.replace", 3, "replace unfitted models: %f sec (%ld objects)\n", psTimerMark ("psphot"), sources->n);
    2323    return true;
    2424}
  • trunk/psphot/src/psphotSourceFits.c

    r8470 r8672  
    7979        // if this one failed, skip it
    8080        if (!psphotEvalPSF (blend, model)) {
    81             psTrace ("psphot.blend", 5, "failed on blend %d of %d\n", i, modelSet->n);
     81            psTrace ("psphot.blend", 5, "failed on blend %d of %ld\n", i, modelSet->n);
    8282            continue;
    8383        }
     
    9696    // evaluate the primary object
    9797    if (!psphotEvalPSF (source, PSF)) {
    98         psTrace ("psphot.blend", 5, "failed on blend 0 of %d\n", modelSet->n);
     98        psTrace ("psphot.blend", 5, "failed on blend 0 of %ld\n", modelSet->n);
    9999        psFree (PSF);
    100100        return false;
  • trunk/psphot/src/psphotSourceStats.c

    r8470 r8672  
    7171    }
    7272     
    73     psLogMsg ("psphot", 3, "%d moments: %f sec\n", sources->n, psTimerMark ("psphot"));
     73    psLogMsg ("psphot", 3, "%ld moments: %f sec\n", sources->n, psTimerMark ("psphot"));
    7474
    7575    return (sources);
Note: See TracChangeset for help on using the changeset viewer.