summaryrefslogtreecommitdiff
path: root/ace/SString.i
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/SString.i
parent2dc99eb025ae04f71b670494277f50a80b2a6e5f (diff)
downloadATCD-e74d754e3840773616f8e5c809ff79f21dfc2170.tar.gz
ChangeLogTag:Fri Oct 4 20:22:41 2002 Steve Huston <shuston@riverace.com>
Diffstat (limited to 'ace/SString.i')
-rw-r--r--ace/SString.i4
1 files changed, 2 insertions, 2 deletions
diff --git a/ace/SString.i b/ace/SString.i
index 247812da5a4..2ba1558848b 100644
--- a/ace/SString.i
+++ b/ace/SString.i
@@ -26,7 +26,7 @@ ACE_NS_WString::ACE_NS_WString (const ACE_WSTRING_TYPE *s,
ACE_INLINE
ACE_NS_WString::ACE_NS_WString (size_t len, ACE_Allocator *alloc)
- : ACE_WString (len, alloc)
+ : ACE_WString (len, 0, alloc)
{
}
@@ -197,7 +197,7 @@ ACE_INLINE int
ACE_SString::rfind (char c, int pos) const
{
if (pos == ACE_SString::npos)
- pos = this->len_;
+ pos = ACE_static_cast (int, this->len_);
for (int i = pos - 1; i >= 0; i--)
if (this->rep_[i] == c)