Changeset 27435 for trunk/Ohana/src/getstar/src/MatchImages.c
- Timestamp:
- Mar 24, 2010, 11:22:25 AM (16 years ago)
- Location:
- trunk/Ohana
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/getstar/src/MatchImages.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana
-
Property svn:mergeinfo
set to
/branches/eam_branches/20091201/Ohana merged eligible /branches/eam_branches/largefiles.20100314/Ohana merged eligible
-
Property svn:mergeinfo
set to
-
trunk/Ohana/src/getstar/src/MatchImages.c
r14590 r27435 5 5 6 6 /* given image, find catalog images which overlap it */ 7 int *MatchImage (Image *dbImages, int NdbImages, Image *image, int *Nmatch) {7 off_t *MatchImage (Image *dbImages, off_t NdbImages, Image *image, off_t *Nmatch) { 8 8 9 int i, j, N, addtolist, status;10 int NMATCH, nmatch, *match;9 off_t i, NMATCH, nmatch, *match; 10 int j, N, addtolist, status; 11 11 Coords tcoords; 12 12 double r, d; … … 64 64 nmatch = 0; 65 65 NMATCH = 20; 66 ALLOCATE (match, int, NMATCH);66 ALLOCATE (match, off_t, NMATCH); 67 67 68 68 /* setup links for mosaic WRP and DIS entries */ … … 128 128 if (nmatch == NMATCH) { 129 129 NMATCH += 20; 130 REALLOCATE (match, int, NMATCH);130 REALLOCATE (match, off_t, NMATCH); 131 131 } 132 132 } 133 133 134 if (VERBOSE) fprintf (stderr, "found % d overlapping images\n",nmatch);134 if (VERBOSE) fprintf (stderr, "found %lld overlapping images\n", (long long) nmatch); 135 135 136 136 *Nmatch = nmatch;
Note:
See TracChangeset
for help on using the changeset viewer.
