Changeset 3166 in Sophya for trunk/SophyaExt


Ignore:
Timestamp:
Feb 2, 2007, 6:14:49 PM (19 years ago)
Author:
ansari
Message:

changement long -> LONGLONG pour gros fichiers cmv+rz 02/02/2007

Location:
trunk/SophyaExt/FitsIOServer
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaExt/FitsIOServer/fbtntintf.cc

    r2683 r3166  
    155155
    156156 // Get number of rows
    157  if(fits_get_num_rows(FitsPtr,&NBline,&sta)) printerror(sta);
     157 if(fits_get_num_rowsll(FitsPtr,&NBline,&sta)) printerror(sta);
    158158 if(DbgLevel) cout<<"...Init  NBline="<<NBline<<endl;
    159159 if(NBline<1) {Delete(); return;}
     
    218218 if(n<LineDeb || n>LineFin) {
    219219   NFitsRead++;
    220    long row1,row2,nrow;
     220   LONGLONG row1,row2,nrow;
    221221   if(BuffSens>0) { // Cas remplissage forward
    222222     row1 = n+1;
     
    240240 }
    241241
    242  int_4 ibuf = n-LineDeb;
     242 sa_size_t ibuf = n-LineDeb;
    243243 for(int icol=0;icol<NBcol;icol++)
    244244   if(ColReadable[icol]) mRet[icol] = (Buffer[icol])[ibuf];
  • trunk/SophyaExt/FitsIOServer/fbtntintf.h

    r2683 r3166  
    4848  uint_2 DbgLevel;
    4949  fitsfile *FitsPtr;
    50   long NBline;
     50  LONGLONG NBline;
    5151  int  NBcol;
    5252  r_8 NulVal;
    5353  int_4 BuffLen, BuffSens;
    54   mutable uint_4 NFitsRead;
    55   mutable long LineDeb, LineFin;
     54  mutable uint_8 NFitsRead;
     55  mutable LONGLONG LineDeb, LineFin;
    5656  vector<string> ColName;
    5757  bool* ColReadable;
Note: See TracChangeset for help on using the changeset viewer.