summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-03-07 14:27:44 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-03-07 14:27:44 +0000
commit52c30c020ec95291ed09fba6f17a83adad123ab8 (patch)
treea26ddd46206e2d44bdc9d7e7c3cc4f5e19052a8f /examples
parenta75d080d8193121d4fb6abbef58a63a44bad3de8 (diff)
downloadATCD-52c30c020ec95291ed09fba6f17a83adad123ab8.tar.gz
added "l" qualifier for sprintf of ACE_OS::getpid ()
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 01207bbf21c..ee265f2af3e 100644
--- a/examples/IPC_SAP/SOCK_SAP/FD-unserver.cpp
+++ b/examples/IPC_SAP/SOCK_SAP/FD-unserver.cpp
@@ -29,7 +29,7 @@ handle_client (ACE_LSOCK_Stream &stream)
)
ACE_DEBUG ((LM_DEBUG, "%*s", n, buf));
- ::sprintf (buf, "%d", ACE_OS::getpid ());
+ ::sprintf (buf, "%ld", ACE_OS::getpid ());
ACE_DEBUG ((LM_DEBUG, "(%s, %d) ----------------------------------------\n", buf, ACE_OS::strlen (buf)));