Index: trunk/psphot/src/psphotFindPeaks.c
===================================================================
--- trunk/psphot/src/psphotFindPeaks.c	(revision 5986)
+++ trunk/psphot/src/psphotFindPeaks.c	(revision 6056)
@@ -1,5 +1,5 @@
 # include "psphot.h"
 
-psArray *psphotFindPeaks (eamReadout *imdata, psMetadata *config, psStats *sky) {
+psArray *psphotFindPeaks (pmReadout *readout, psMetadata *config, psStats *sky) {
 
     bool  status = false;
@@ -15,5 +15,5 @@
     NSIGMA = psMetadataLookupF32 (&status, config, "PEAKS_SMOOTH_NSIGMA");
 
-    psImage *smooth = psImageCopy (NULL, imdata->image, PS_TYPE_F32);
+    psImage *smooth = psImageCopy (NULL, readout->image, PS_TYPE_F32);
     psImageSmooth (smooth, SIGMA, NSIGMA);
     psLogMsg ("psphot", 4, "smooth: %f sec\n", psTimerMark ("psphot"));
