diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2001-12-16 15:53:08 +0000 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2001-12-16 15:53:08 +0000 |
commit | ba0f7d09deb90e86d807bf6f31f7a3824193ea02 (patch) | |
tree | 192d10b8b96606ad41ea58e529ae95bef0165cdb /examples | |
parent | 9454c158437b2dea48bd5a085076f39d2b5bfcbe (diff) | |
download | ATCD-ba0f7d09deb90e86d807bf6f31f7a3824193ea02.tar.gz |
ChangeLogTag: Sun Dec 16 16:42:08 2001 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'examples')
-rw-r--r-- | examples/IPC_SAP/FILE_SAP/client.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/IPC_SAP/FILE_SAP/client.cpp b/examples/IPC_SAP/FILE_SAP/client.cpp index bbdfa9d4f74..da93c39a776 100644 --- a/examples/IPC_SAP/FILE_SAP/client.cpp +++ b/examples/IPC_SAP/FILE_SAP/client.cpp @@ -8,7 +8,7 @@ ACE_RCSID(FILE_SAP, client, "$Id$") int -main (int argc, char *argv[]) +main (int argc, ACE_TCHAR *argv[]) { if (argc < 3 || argc > 3) ACE_ERROR_RETURN ((LM_ERROR, @@ -16,7 +16,7 @@ main (int argc, char *argv[]) argv[0]), 1); - char *readback = new char[::strlen (argv[1]) + 1]; + ACE_TCHAR *readback = new ACE_TCHAR[ACE_OS::strlen (argv[1]) + 1]; ACE_FILE_Info fileinfo; ACE_FILE_IO cli_file; |