Changeset 1818 in ntrip


Ignore:
Timestamp:
Apr 29, 2009, 11:16:50 AM (16 years ago)
Author:
mervart
Message:

* empty log message *

Location:
trunk/BNC
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncnetqueryrtp.cpp

    r1721 r1818  
    184184          // ---------------------------------------------
    185185          if (!serverPort.isEmpty()) {
    186             int sessInt = _session.toInt();
     186            unsigned sessInt = _session.toInt();
    187187            char rtpbuffer[12];
    188188            rtpbuffer[0]  = 128;
  • trunk/BNC/bncnetqueryudp.cpp

    r1761 r1818  
    160160    while (!line.isEmpty()) {
    161161      if (line.indexOf("Session:") == 0) {
    162         _session = line.mid(9).toInt();
     162        _session = line.mid(9).toUInt();
    163163        _keepAlive[ 8] = (_session >> 24) & 0xFF;
    164164        _keepAlive[ 9] = (_session >> 16) & 0xFF;
  • trunk/BNC/bncnetqueryudp.h

    r1761 r1818  
    2424  int          _port;
    2525  char         _keepAlive[12];
    26   int          _session;
     26  unsigned     _session;
    2727};
    2828
Note: See TracChangeset for help on using the changeset viewer.