Changeset 9961 in ntrip


Ignore:
Timestamp:
Jan 26, 2023, 12:06:59 PM (13 months ago)
Author:
stuerze
Message:

minor changes to be msvc compatible

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/bncnetqueryudp.cpp

    r9959 r9961  
    3636  _eventLoop = new QEventLoop(this);
    3737
    38   _keepAlive[ 0] = 128;
    39   _keepAlive[ 1] =  96;
     38  _keepAlive[0] = 128;
     39  _keepAlive[1] =  96;
    4040  for (int ii = 2; ii <=11; ii++) {
    4141    _keepAlive[ii] = 0;
     
    144144    reqStr += userAndPwd + "Connection: close\r\n\r\n";
    145145
    146     std::vector <char> rtpbuffer(12 + reqStr.size());
     146    char* rtpbuffer;
     147    rtpbuffer = (char*)malloc((12 + reqStr.size())*sizeof(char));
    147148    rtpbuffer[0]  = 128;
    148149    rtpbuffer[1]  =  97;
Note: See TracChangeset for help on using the changeset viewer.