Index: trunk/Ohana/src/imregister/imphot/dumpfits.c
===================================================================
--- trunk/Ohana/src/imregister/imphot/dumpfits.c	(revision 14590)
+++ trunk/Ohana/src/imregister/imphot/dumpfits.c	(revision 27435)
@@ -3,7 +3,7 @@
 
 /* write out complete binary FITS table in format of db */
-int DumpFitsBintable (char *filename, Image *image, int *match, int Nmatch) {
+int DumpFitsBintable (char *filename, Image *image, off_t *match, off_t Nmatch) {
 
-  int i, j;
+  off_t i, j;
   FILE *f;
   Header header;
@@ -44,5 +44,5 @@
 }
 
-int DumpFitsTable (char *filename, Image *image, int *match, int Nmatch) {
+int DumpFitsTable (char *filename, Image *image, off_t *match, off_t Nmatch) {
   
   Header header;
@@ -53,5 +53,5 @@
   FILE *f;
   char *startstr, *filtstr, *datestr, *line;
-  int i;
+  off_t i;
   double zp, dzp, ra, dec, airmass, sky;
   time_t tsecond;
