Index: trunk/Ohana/src/opihi/dvo/lcurve.c
===================================================================
--- trunk/Ohana/src/opihi/dvo/lcurve.c	(revision 20936)
+++ trunk/Ohana/src/opihi/dvo/lcurve.c	(revision 27435)
@@ -7,6 +7,7 @@
   double *RA, *DEC;
   int kapa, TimeFormat;
-  int Nstars, found, AutoLimits, ErrorBars, GalMag, AbsPhot, SaveVectors;
-  int i, j, m, N, NPTS, *N1;
+  int found, AutoLimits, ErrorBars, GalMag, AbsPhot, SaveVectors;
+  off_t i, j, m, Nstars, *N1;
+  int N, NPTS;
   time_t TimeReference;
   struct tm *timeptr;
@@ -88,5 +89,5 @@
   ALLOCATE (RA, double, Nstars);
   ALLOCATE (DEC, double, Nstars);
-  ALLOCATE (N1, int, Nstars);
+  ALLOCATE (N1, off_t, Nstars);
 
   /* find star(s) in RA, DEC list -- use a dumb algorithm for now, improve later */
