Browse Source

gcc warning

David Rose 19 years ago
parent
commit
1ff882153b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      panda/src/net/connection.cxx

+ 1 - 1
panda/src/net/connection.cxx

@@ -470,7 +470,7 @@ do_flush() {
   Socket_TCP *tcp;
   Socket_TCP *tcp;
   DCAST_INTO_R(tcp, _socket, false);
   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_data = string();
   _queued_count = 0;
   _queued_count = 0;