Index: trunk/psastro/src/psastroMosaicSetMatch.c
===================================================================
--- trunk/psastro/src/psastroMosaicSetMatch.c	(revision 7332)
+++ trunk/psastro/src/psastroMosaicSetMatch.c	(revision 8674)
@@ -35,10 +35,10 @@
 		psArray *refstars = psMetadataLookupPtr (NULL, readout->analysis, "PSASTRO.REFSTARS");
 		if (refstars == NULL) { continue; }
-		psTrace (__func__, 4, "Trying %d refstars\n", refstars->n);
+		psTrace (__func__, 4, "Trying %ld refstars\n", refstars->n);
 
 		// use small radius to match stars (assume starting astrometry is good)
 		// XXX should this take a (double radius)?
 		psArray *matches = pmAstromRadiusMatchChip (rawstars, refstars, recipe);
-		psTrace (__func__, 4, "Matched %d refstars\n", matches->n);
+		psTrace (__func__, 4, "Matched %ld refstars\n", matches->n);
 
 		sprintf (name, "raw.%02d.dat", view->chip);
