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

sgradclc.cpp (revision 810)
98 98
  gradient_structure::TOTAL_BYTES = 0;
99 99
  gradient_structure::PREVIOUS_TOTAL_BYTES=0;
100 100
  unsigned int i;
101
  long int lpos;
101
  my_off_t lpos;
102 102
  if(!gradient_structure::instances)
103 103
  {
104 104
    g.initialize();
......
252 252
 */
253 253
void gradient_structure::save_arrays()
254 254
{
255
  void* temp_ptr = 0;
255
  void * temp_ptr;
256 256
  long bytes_needed=min(gradient_structure::ARR_LIST1->get_last_offset()+1,
257 257
    ARRAY_MEMBLOCK_SIZE);
258 258
  gradient_structure::save_var_file_flag=0;
......
274 274
   }
275 275
   if (gradient_structure::save_var_file_flag==0)
276 276
   {
277
     ARRAY_MEMBLOCK_SAVE = (char*)temp_ptr;
277
     ARRAY_MEMBLOCK_SAVE = temp_ptr;
278 278
     #if defined(DOS386)
279 279
     //#if DOS386==1
280 280
       #ifndef USE_ASSEMBLER

Also available in: Unified diff