summaryrefslogtreecommitdiff
path: root/ace/SString.cpp
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1996-12-15 16:38:54 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1996-12-15 16:38:54 +0000
commitd0b22560e2f8ee49cb6b62c3cab0260bd29a939f (patch)
tree5c7b58240f4d2ab28cec729bb1b7d46a5d01f47f /ace/SString.cpp
parent38a7f5bae22d9f3b15804dff59cf26196ccd9838 (diff)
downloadATCD-d0b22560e2f8ee49cb6b62c3cab0260bd29a939f.tar.gz
*** empty log message ***
Diffstat (limited to 'ace/SString.cpp')
-rw-r--r--ace/SString.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/ace/SString.cpp b/ace/SString.cpp
index a8269f6362e..47c52efcf68 100644
--- a/ace/SString.cpp
+++ b/ace/SString.cpp
@@ -108,10 +108,7 @@ ACE_CString::ACE_CString (const ACE_USHORT16 *s, ACE_Allocator *alloc)
// Copy the ACE_USHORT16 * string byte-by-byte into the char *
// string.
for (size_t i = 0; i < this->len_; i++)
-#pragma warning(disable: 4244) /* Possible loss of data */
- this->rep_[i] = (ACE_USHORT16) s[i];
-#pragma warning(default: 4244) /* Possible loss of data */
-
+ this->rep_[i] = char (s[i]);
this->rep_[this->len_] = '\0';
}
}