Changeset 603


Ignore:
Timestamp:
05/27/15 15:26:56 (6 years ago)
Author:
rlacroix
Message:

Fix compilation for compilers over than GCC.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/src/node/field.cpp

    r600 r603  
    340340        msg << getNStep() - 1 << *it->second; 
    341341      else 
    342         msg << SIZE_MAX; 
     342        msg << size_t(-1); 
    343343      event.push(it->first, grid->nbSenders[it->first], msg); 
    344344    } 
     
    401401      int rank = ranks[i]; 
    402402      *buffers[i] >> record; 
    403       isEOF = (record == SIZE_MAX); 
     403      isEOF = (record == size_t(-1)); 
    404404 
    405405      if (!isEOF) 
Note: See TracChangeset for help on using the changeset viewer.