From 1ff882153b84320ae9937a356dde8729d39369d0 Mon Sep 17 00:00:00 2001 From: David Rose Date: Wed, 7 Mar 2007 22:11:00 +0000 Subject: [PATCH] gcc warning --- panda/src/net/connection.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/panda/src/net/connection.cxx b/panda/src/net/connection.cxx index 180bd08ad0..3fed60396f 100644 --- a/panda/src/net/connection.cxx +++ b/panda/src/net/connection.cxx @@ -470,7 +470,7 @@ do_flush() { Socket_TCP *tcp; DCAST_INTO_R(tcp, _socket, false); - bool okflag = (tcp->SendData(_queued_data) == _queued_data.size()); + bool okflag = (tcp->SendData(_queued_data) == (int)_queued_data.size()); _queued_data = string(); _queued_count = 0;