Build
- Eliminated build warnings.
This commit is contained in:
@@ -193,8 +193,8 @@ void TLSClient::send (const std::string& data)
|
|||||||
packet[2] = l >>8;
|
packet[2] = l >>8;
|
||||||
packet[3] = l;
|
packet[3] = l;
|
||||||
|
|
||||||
int total = 0;
|
unsigned int total = 0;
|
||||||
int remaining = packet.length ();
|
unsigned int remaining = packet.length ();
|
||||||
|
|
||||||
while (total < packet.length ())
|
while (total < packet.length ())
|
||||||
{
|
{
|
||||||
@@ -209,8 +209,8 @@ void TLSClient::send (const std::string& data)
|
|||||||
if (status == -1)
|
if (status == -1)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
total += status;
|
total += (unsigned int) status;
|
||||||
remaining -= status;
|
remaining -= (unsigned int) status;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (_debug)
|
if (_debug)
|
||||||
|
|||||||
Reference in New Issue
Block a user