Changeset 97 in ntrip for trunk/BNC


Ignore:
Timestamp:
Sep 2, 2006, 6:07:48 PM (18 years ago)
Author:
mervart
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/RTIGS/rtigs.cpp

    r93 r97  
    4747    unsigned short xx;
    4848    memcpy( (void*) &xx, &_buffer.data()[ii], sizeof(xx) );
    49     SwitchBytes( (char*) &xx, sizeof(xx) );
     49    if (_GPSTrans.f_IsLittleEndian) {
     50      SwitchBytes( (char*) &xx, sizeof(xx) );
     51    }
    5052    if (xx == 200) {
    5153      _buffer = _buffer.mid(ii);
     
    5456    }
    5557  }
     58
    5659  if (! found) {
    5760    _buffer.clear();
Note: See TracChangeset for help on using the changeset viewer.