From 11051fbf6146d5940335de2f0a83fc578e84808c Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sun, 9 Jun 2013 00:54:47 -0400 Subject: [PATCH] Build - Eliminated build warnings. --- src/TLSClient.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/TLSClient.cpp b/src/TLSClient.cpp index f33ff1035..c1c6ecaeb 100644 --- a/src/TLSClient.cpp +++ b/src/TLSClient.cpp @@ -193,8 +193,8 @@ void TLSClient::send (const std::string& data) packet[2] = l >>8; packet[3] = l; - int total = 0; - int remaining = packet.length (); + unsigned int total = 0; + unsigned int remaining = packet.length (); while (total < packet.length ()) { @@ -209,8 +209,8 @@ void TLSClient::send (const std::string& data) if (status == -1) break; - total += status; - remaining -= status; + total += (unsigned int) status; + remaining -= (unsigned int) status; } if (_debug)