Index: trunk/Ohana/src/imregister/detrend/unique.c
===================================================================
--- trunk/Ohana/src/imregister/detrend/unique.c	(revision 3606)
+++ trunk/Ohana/src/imregister/detrend/unique.c	(revision 27435)
@@ -3,8 +3,9 @@
 
 /* define a list of best images which have unique properties */ 
-Match *UniqueSubset (DetReg *image, int Nimage, Match *match, int *nmatch) {
+Match *UniqueSubset (DetReg *image, off_t Nimage, Match *match, off_t *nmatch) {
 
-  int Nsubset, Nunique, Ncrit, NCRIT;
-  int i, j, N, Nmatch, found;
+  int found;
+  off_t Nsubset, Nunique, Ncrit, NCRIT;
+  off_t i, j, N, Nmatch;
   Criteria *crit;
   Match *subset, *unique, *local;
