Changeset 27435 for trunk/Ohana/src/addstar/src/gettycho.c
- Timestamp:
- Mar 24, 2010, 11:22:25 AM (16 years ago)
- Location:
- trunk/Ohana
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/addstar/src/gettycho.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/addstar/src/gettycho.c
r21508 r27435 6 6 static SkyTable *tychoTable = NULL; 7 7 8 Stars *gettycho (SkyRegion *catstats, int photcode, int *nstars) {8 Stars *gettycho (SkyRegion *catstats, int photcode, unsigned int *nstars) { 9 9 10 10 int i, j, nitems; … … 13 13 FILE *f; 14 14 int NTYCHO, Ntycho; 15 int firstRow, firstByte;15 off_t firstRow, firstByte; 16 16 short int TYCHO_B, TYCHO_V; 17 17 e_time TychoEpoch; … … 60 60 region[0].Rmin, region[0].Rmax, region[0].Dmin, region[0].Dmax); 61 61 62 firstRow = atoi (region[0].name);62 firstRow = strtol (region[0].name, NULL, 0); 63 63 firstByte = firstRow * NBYTE; 64 fseek (f, firstByte, SEEK_SET);64 fseeko (f, firstByte, SEEK_SET); 65 65 66 66 while (1) {
Note:
See TracChangeset
for help on using the changeset viewer.
