Index: trunk/Ohana/src/imregister/photreg/output.c
===================================================================
--- trunk/Ohana/src/imregister/photreg/output.c	(revision 14590)
+++ trunk/Ohana/src/imregister/photreg/output.c	(revision 27435)
@@ -6,5 +6,5 @@
 
 /* given a subset list, write out the selected images, if desired */
-void OutputSubset (PhotPars *photdata, int Nphotdata, int *match, int Nmatch) {
+void OutputSubset (PhotPars *photdata, off_t Nphotdata, off_t *match, off_t Nmatch) {
 
   if (output.table != (char *) NULL) {
@@ -23,7 +23,7 @@
 
 /* write out complete binary FITS table in format of db */
-void DumpFitsBintable (char *filename, PhotPars *photdata, int *match, int Nmatch) {
-
-  int i, j;
+void DumpFitsBintable (char *filename, PhotPars *photdata, off_t *match, off_t Nmatch) {
+
+  off_t i, j;
   FILE *f;
   Header header;
@@ -71,5 +71,5 @@
 
 /** add ASCII table to autocode? **/
-void DumpFitsTable (char *filename, PhotPars *photdata, int *index, int Nkeep) {
+void DumpFitsTable (char *filename, PhotPars *photdata, off_t *index, off_t Nkeep) {
   
   Header header, theader;
@@ -80,5 +80,5 @@
   char *startstr, *stopstr, *datestr, *line;
   char *c1, *c2, *code, *photsys, *extname;
-  int i;
+  off_t i;
   time_t tsecond;
 
@@ -196,7 +196,7 @@
 
 /* Select, TimeMode are global */
-int PrintSubset (PhotPars *photdata, int *match, int Nmatch) {
-  
-  int i, j;
+int PrintSubset (PhotPars *photdata, off_t *match, off_t Nmatch) {
+  
+  off_t i, j;
   char *photstr, *timestr, *c1, *c2, *refcode;
   
