diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 2002-11-11 16:41:32 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 2002-11-11 16:41:32 +0000 |
commit | e7d5bc570e3265900828fd49b4af59730783aa8b (patch) | |
tree | 310089c9d86a61f0ad3f74a0eabfe1f72a89fd02 /ace | |
parent | bdf2960aeca65f1d04986b0ef024f25936f6998a (diff) | |
download | ATCD-e7d5bc570e3265900828fd49b4af59730783aa8b.tar.gz |
ChangeLogTag:Mon Nov 11 09:58:13 2002 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
Diffstat (limited to 'ace')
-rw-r--r-- | ace/CDR_Stream.i | 2 | ||||
-rw-r--r-- | ace/OS_String.cpp | 4 | ||||
-rw-r--r-- | ace/Obstack.h | 2 | ||||
-rw-r--r-- | ace/Obstack_T.h | 1 |
4 files changed, 5 insertions, 4 deletions
diff --git a/ace/CDR_Stream.i b/ace/CDR_Stream.i index 90b73d012bb..f4d9a5a2197 100644 --- a/ace/CDR_Stream.i +++ b/ace/CDR_Stream.i @@ -175,7 +175,7 @@ ACE_OutputCDR::write_octet (ACE_CDR::Octet x) ACE_INLINE ACE_CDR::Boolean ACE_OutputCDR::write_boolean (ACE_CDR::Boolean x) { - return (ACE_CDR::Boolean) this->write_octet (x ? 1 : 0); + return (ACE_CDR::Boolean) this->write_octet (x ? (ACE_CDR::Octet) 1 : (ACE_CDR::Octet) 0); } ACE_INLINE ACE_CDR::Boolean diff --git a/ace/OS_String.cpp b/ace/OS_String.cpp index e0a4f4a1286..fabb6bc4308 100644 --- a/ace/OS_String.cpp +++ b/ace/OS_String.cpp @@ -489,7 +489,9 @@ ACE_OS_String::itoa_emulation (int value, char *string, int radix) if (value < 0 && radix == 10) { string[0] = '-'; - b++; + ++b; + ++e; // Don't overwrite the negative sign. + value = -value; // Drop negative sign so character selection is correct. } // Convert to base <radix>, but in reverse order diff --git a/ace/Obstack.h b/ace/Obstack.h index 42abf2bd23d..afc944dcc6e 100644 --- a/ace/Obstack.h +++ b/ace/Obstack.h @@ -5,7 +5,7 @@ * * $Id$ * - * @author Doug Schmidt + * @author Douglas C. Schmidt <schmidt@cs.wustl.edu> */ //============================================================================= diff --git a/ace/Obstack_T.h b/ace/Obstack_T.h index 9f4dd1f06aa..87a6f15bbc6 100644 --- a/ace/Obstack_T.h +++ b/ace/Obstack_T.h @@ -19,7 +19,6 @@ # pragma once #endif /* ACE_LACKS_PRAGMA_ONCE */ - /** * @class ACE_Obstack * |