summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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