mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-27 10:07:19 +02:00
Build
- Eliminated build warnings.
This commit is contained in:
parent
19077f76df
commit
11051fbf61
1 changed files with 4 additions and 4 deletions
|
@ -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)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue