- Timestamp:
- May 3, 2010, 8:45:22 AM (16 years ago)
- Location:
- branches/simmosaic_branches
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/simmosaic_branches
- Property svn:mergeinfo changed
-
branches/simmosaic_branches/Ohana
-
Property svn:mergeinfo
set to (toggle deleted branches)
/trunk/Ohana merged eligible /branches/eam_branches/Ohana.20100407 27635-27772 /branches/pap_delete/Ohana 27530-27595
-
Property svn:mergeinfo
set to (toggle deleted branches)
-
branches/simmosaic_branches/Ohana/src/addstar/src/gettycho.c
r21508 r27839 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.
