Index: trunk/Ohana/src/imregister/detrend/select.c
===================================================================
--- trunk/Ohana/src/imregister/detrend/select.c	(revision 3606)
+++ trunk/Ohana/src/imregister/detrend/select.c	(revision 27435)
@@ -2,5 +2,5 @@
 # include "detrend.h"
 
-Match SelectEntry (DetReg *image, int Nimage, Match *list, int Nlist, Criteria *crit) {
+Match SelectEntry (DetReg *image, off_t Nimage, Match *list, off_t Nlist, Criteria *crit) {
 
   /* force a single selection */
@@ -15,6 +15,6 @@
   */
 
-  int i, j, entry, order, matchnum;
-  int nmatch, Nmatch;
+  off_t i, j, entry, order, matchnum;
+  off_t nmatch, Nmatch;
   unsigned int tstart;
   Match *match, *tmatch, answer;
