Revision 1857 trunk/src/linad99/jacob2.cpp

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

  

Also available in: Unified diff