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
commit0689a3bcbdc4c7c11d95a8e8d6b1930993dabf4d (patch)
tree4c2bfb314c997c0b8d383a60da957fa13d95dceb /examples
parent2c0416667305511b413e3968c02ae0443f1c2fbe (diff)
downloadATCD-0689a3bcbdc4c7c11d95a8e8d6b1930993dabf4d.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)));