summaryrefslogtreecommitdiff
path: root/ace/FILE_Addr.cpp
diff options
context:
space:
mode:
authorSteve Huston <shuston@riverace.com>2002-10-05 00:25:54 +0000
committerSteve Huston <shuston@riverace.com>2002-10-05 00:25:54 +0000
commite74d754e3840773616f8e5c809ff79f21dfc2170 (patch)
tree7caccdf49e172841bf42289e545ee8ab18383951 /ace/FILE_Addr.cpp
parent2dc99eb025ae04f71b670494277f50a80b2a6e5f (diff)
downloadATCD-e74d754e3840773616f8e5c809ff79f21dfc2170.tar.gz
ChangeLogTag:Fri Oct 4 20:22:41 2002 Steve Huston <shuston@riverace.com>
Diffstat (limited to 'ace/FILE_Addr.cpp')
-rw-r--r--ace/FILE_Addr.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/ace/FILE_Addr.cpp b/ace/FILE_Addr.cpp
index cc7c47743ec..f8e03aa9e91 100644
--- a/ace/FILE_Addr.cpp
+++ b/ace/FILE_Addr.cpp
@@ -44,7 +44,8 @@ ACE_FILE_Addr::set (const ACE_FILE_Addr &sa)
ACE_OS::mktemp (this->filename_);
this->base_set (AF_FILE,
- ACE_OS::strlen (this->filename_) + 1);
+ ACE_static_cast (int,
+ ACE_OS::strlen (this->filename_) + 1));
}
else
{
@@ -70,7 +71,8 @@ int
ACE_FILE_Addr::set (const ACE_TCHAR *filename)
{
this->ACE_Addr::base_set (AF_FILE,
- ACE_OS::strlen (filename) + 1);
+ ACE_static_cast (int,
+ ACE_OS::strlen (filename) + 1));
(void) ACE_OS::strsncpy (this->filename_,
filename,
sizeof this->filename_ / sizeof (ACE_TCHAR));