Revision 810 branches/pthreads-737/src/linad99/jacob2.cpp

jacob2.cpp (revision 810)
136 136
    // position the cmpdif file correctly;
137 137
    if (last_cpos)
138 138
    {
139
      int cmp_lpos=DEPVARS_INFO->cmpdif_file_position(ijac);
139
      my_off_t cmp_lpos=DEPVARS_INFO->cmpdif_file_position(ijac);
140
      //int cmp_lpos=DEPVARS_INFO->cmpdif_file_position(ijac);
140 141
      lseek(fp->file_ptr,cmp_lpos,SEEK_SET);
141 142
      #if !defined(__MSVC32__) && !defined(__GNUDOS__) && !defined (__WAT32__)
142 143
        fp->read_cmpdif_stack_buffer(cmp_lpos);
143 144
      #else
144
        fp->read_cmpdif_stack_buffer((long int&)cmp_lpos);
145
        fp->read_cmpdif_stack_buffer(cmp_lpos);
146
        //fp->read_cmpdif_stack_buffer((long int&)cmp_lpos);
145 147
      #endif
146 148
    }
147 149
    GRAD_STACK1->_GRADFILE_PTR = GRAD_STACK1->gradfile_handle();

Also available in: Unified diff