diff options
Diffstat (limited to 'TAO/TAO_IDL/be/be_helper.cpp')
-rw-r--r-- | TAO/TAO_IDL/be/be_helper.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/TAO/TAO_IDL/be/be_helper.cpp b/TAO/TAO_IDL/be/be_helper.cpp index 9483cac3d19..c4ec5e1918a 100644 --- a/TAO/TAO_IDL/be/be_helper.cpp +++ b/TAO/TAO_IDL/be/be_helper.cpp @@ -315,7 +315,7 @@ TAO_OutStream::operator<< (const ACE_CDR::Short num) TAO_OutStream & TAO_OutStream::operator<< (const ACE_CDR::ULong num) { - ACE_OS::fprintf (this->fp_, "%lu", num); + ACE_OS::fprintf (this->fp_, "%lu", (unsigned long) num); ACE_OS::fflush (fp_); return *this; } @@ -323,7 +323,7 @@ TAO_OutStream::operator<< (const ACE_CDR::ULong num) TAO_OutStream & TAO_OutStream::operator<< (const ACE_CDR::Long num) { - ACE_OS::fprintf (this->fp_, "%ld", num); + ACE_OS::fprintf (this->fp_, "%ld", (long) num); ACE_OS::fflush (fp_); return *this; } |