summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-07-07 14:38:17 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-07-07 14:38:17 +0000
commit983abf37f352c55c116e1bd034f87e7a8134a4d2 (patch)
tree4c2bfb314c997c0b8d383a60da957fa13d95dceb /examples
parentd8bb7a2fbbf737c1a3f5e9cd84233e203ece8847 (diff)
downloadATCD-983abf37f352c55c116e1bd034f87e7a8134a4d2.tar.gz
ChangeLogTag: Fri Jul 07 09:36:05 2000 David L. Levine <levine@cs.wustl.edu>
Diffstat (limited to 'examples')
-rw-r--r--examples/IPC_SAP/SOCK_SAP/FD-unserver.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/IPC_SAP/SOCK_SAP/FD-unserver.cpp b/examples/IPC_SAP/SOCK_SAP/FD-unserver.cpp
index 99934458e3e..7575e69e19f 100644
--- a/examples/IPC_SAP/SOCK_SAP/FD-unserver.cpp
+++ b/examples/IPC_SAP/SOCK_SAP/FD-unserver.cpp
@@ -31,7 +31,7 @@ handle_client (ACE_LSOCK_Stream &stream)
)
ACE_DEBUG ((LM_DEBUG, "%*s", n, buf));
- ACE_OS::sprintf (buf, "%ld", ACE_OS::getpid ());
+ ACE_OS::sprintf (buf, "%d", ACE_static_cast (int, ACE_OS::getpid ()));
ACE_DEBUG ((LM_DEBUG, "(%s, %d) ----------------------------------------\n", buf, ACE_OS::strlen (buf)));