Changeset 1664 in Sophya for trunk/SophyaExt/FitsIOServer


Ignore:
Timestamp:
Oct 1, 2001, 4:16:45 PM (24 years ago)
Author:
ansari
Message:

compil avec SGI-CC (2x for(int i...)) - Reza 1/10/2001

File:
1 edited

Legend:

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

    r1662 r1664  
    192192   strcpy(extname,ExtName.c_str());
    193193 }
    194  for(int i=0;i<tfields;i++) {
     194 int i;
     195 for(i=0;i<tfields;i++) {
    195196   ttype[i] = (char *) malloc((strlen(Label[i].c_str())+1)*sizeof(char));
    196197     strcpy(ttype[i],Label[i].c_str());
     
    210211 // menage
    211212 if(extname) delete [] extname;
    212  for(int i=0;i<tfields;i++) {
     213 for(i=0;i<tfields;i++) {
    213214   if(ttype[i]) delete [] ttype[i];
    214215   if(tform[i]) delete [] tform[i];
Note: See TracChangeset for help on using the changeset viewer.