summaryrefslogtreecommitdiff
path: root/apps/drwho
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-05-23 02:13:15 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-05-23 02:13:15 +0000
commit642ec8a8a7b6cb4bc674556e5f2823bd5f5141a6 (patch)
tree28273252091c23354c6f1951a51e420a9aed7826 /apps/drwho
parent4e85db11ec9e1c573e8c25de1c14c79d2b3a5889 (diff)
downloadATCD-642ec8a8a7b6cb4bc674556e5f2823bd5f5141a6.tar.gz
ChangeLogTag: Mon May 22 21:10:24 2000 David L. Levine <levine@cs.wustl.edu>
Diffstat (limited to 'apps/drwho')
-rw-r--r--apps/drwho/CM_Server.cpp4
-rw-r--r--apps/drwho/ChangeLog9
2 files changed, 12 insertions, 1 deletions
diff --git a/apps/drwho/CM_Server.cpp b/apps/drwho/CM_Server.cpp
index c87ede968a4..041b111a75a 100644
--- a/apps/drwho/CM_Server.cpp
+++ b/apps/drwho/CM_Server.cpp
@@ -41,7 +41,9 @@ CM_Server::open (short port_number)
int
CM_Server::receive (int)
{
- int sin_len = sizeof this->sin_;
+ // It would be nice to use ACE_SOCKET_LEN here, but that's only
+ // defined in ace/OS.i.
+ size_t sin_len = sizeof this->sin_;
if (Options::get_opt (Options::DEBUG) != 0)
ACE_DEBUG ((LM_DEBUG, "waiting for client to send...\n"));
diff --git a/apps/drwho/ChangeLog b/apps/drwho/ChangeLog
index 6ea397e2843..9600a1f64e2 100644
--- a/apps/drwho/ChangeLog
+++ b/apps/drwho/ChangeLog
@@ -1,3 +1,12 @@
+Mon May 22 21:10:24 2000 David L. Levine <levine@cs.wustl.edu>
+
+ * CM_Server.cpp (receive): changed type of local sin_len
+ from int to size_t, to avoid warning from g++ on Linux
+ about "change of signedness". Note that it would be
+ better to use ACE_SOCKET_LEN, but that's defined in
+ ace/OS.i. So, it wouldn't be visible with inlining
+ disabled.
+
Mon May 22 21:07:57 2000 David L. Levine <levine@cs.wustl.edu>
* BS_Server.cpp (insert): initialize local cmp to 0, to