Index: trunk/ppSim/src/ppSim.h
===================================================================
--- trunk/ppSim/src/ppSim.h	(revision 21170)
+++ trunk/ppSim/src/ppSim.h	(revision 21183)
@@ -130,6 +130,5 @@
 bool ppSimInsertGalaxies (pmReadout *readout, psImage *expCorr, psArray *galaxies, pmConfig *config);
 
-bool ppSimMosaicChip(pmConfig *config, const psMaskType blankMask, const pmFPAview *view,
-		     const char *outFile, const char *inFile);
+bool ppSimMosaicChip(pmConfig *config, const psImageMaskType blankMask, const pmFPAview *view, const char *outFile, const char *inFile);
 
 bool ppSimPhotom (pmConfig *config, pmFPAview *view);
Index: trunk/ppSim/src/ppSimMosaicChip.c
===================================================================
--- trunk/ppSim/src/ppSimMosaicChip.c	(revision 21170)
+++ trunk/ppSim/src/ppSimMosaicChip.c	(revision 21183)
@@ -2,5 +2,5 @@
 
 // XXX this is essentially identical to ppImageMosaicChip
-bool ppSimMosaicChip(pmConfig *config, const psMaskType blankMask, const pmFPAview *view,
+bool ppSimMosaicChip(pmConfig *config, const psImageMaskType blankMask, const pmFPAview *view,
                        const char *outFile, const char *inFile)
 {
Index: trunk/ppSim/src/ppSimPhotom.c
===================================================================
--- trunk/ppSim/src/ppSimPhotom.c	(revision 21170)
+++ trunk/ppSim/src/ppSimPhotom.c	(revision 21183)
@@ -15,5 +15,5 @@
     psphotInit ();
 
-    int blankMask = 0;		// XXX not sure what this should be set to...
+    psImageMaskType blankMask = 1;		// XXX not sure what this should be set to...
     ppSimMosaicChip(config, blankMask, view, "PPSIM.FORCE.CHIP", "PPSIM.INPUT");
     ppSimMosaicChip(config, blankMask, view, "PPSIM.FAKE.CHIP", "PPSIM.OUTPUT");
Index: trunk/ppSim/src/ppSimPhotomReadout.c
===================================================================
--- trunk/ppSim/src/ppSimPhotomReadout.c	(revision 21170)
+++ trunk/ppSim/src/ppSimPhotomReadout.c	(revision 21183)
@@ -96,5 +96,5 @@
 
     // XXX fake sources should measure peak->x,y, force sources should not
-    psMaskType maskVal = 0xff; 
+    psImageMaskType maskVal = 0xff; 
     psImage *significance = psphotSignificanceImage (readout, recipe, 1, maskVal);
     ppSimDetections (significance, recipe, fakeSources);
Index: trunk/ppSim/src/ppSimPhotomReadoutFake.c
===================================================================
--- trunk/ppSim/src/ppSimPhotomReadoutFake.c	(revision 21170)
+++ trunk/ppSim/src/ppSimPhotomReadoutFake.c	(revision 21183)
@@ -76,5 +76,5 @@
 
     // XXX fake sources should measure peak->x,y, force sources should not
-    psMaskType maskVal = 0xff; 
+    psImageMaskType maskVal = 0xff; 
     psImage *significance = psphotSignificanceImage (readout, recipe, 1, maskVal);
     ppSimDetections (significance, recipe, fakeSources);
Index: trunk/ppSim/src/ppSimPhotomReadoutForce.c
===================================================================
--- trunk/ppSim/src/ppSimPhotomReadoutForce.c	(revision 21170)
+++ trunk/ppSim/src/ppSimPhotomReadoutForce.c	(revision 21183)
@@ -69,5 +69,5 @@
 
     // XXX fake sources should measure peak->x,y, force sources should not
-    psMaskType maskVal = 0xff; 
+    psImageMaskType maskVal = 0xff; 
     psImage *significance = psphotSignificanceImage (readout, recipe, 1, maskVal);
     ppSimDetections (significance, recipe, forceSources);
