Get rid of G++ compiler warning.

This commit is contained in:
Adam Ierymenko 2015-04-30 20:41:25 -07:00
parent 604576075e
commit 105e1a016f

View File

@ -508,7 +508,7 @@ public:
long sent = _phy.tcpSend(sock,tc->writeBuf.data(),tc->writeBuf.length(),true);
if (sent > 0) {
tc->lastActivity = OSUtils::now();
if (sent == tc->writeBuf.length()) {
if ((unsigned long)sent == (unsigned long)tc->writeBuf.length()) {
tc->writeBuf = "";
_phy.tcpSetNotifyWritable(sock,false);
if (!tc->shouldKeepAlive)