diff options
author | pgontla <pgontla@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2002-03-27 20:33:23 +0000 |
---|---|---|
committer | pgontla <pgontla@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2002-03-27 20:33:23 +0000 |
commit | 4fb2dc87b5ac0acca6fa0c7115f6f877fc3717ef (patch) | |
tree | 0ee7d76ccbaa348df5a1581673c6015259b7c592 /TAO | |
parent | d3176083a60d5d576a1f078dfd656170461ba34b (diff) | |
download | ATCD-4fb2dc87b5ac0acca6fa0c7115f6f877fc3717ef.tar.gz |
ChangeLogTag: Wed Mar 27 12:31:33 2002 Priyanka Gontla <pgontla@ece.uci.edu>
Diffstat (limited to 'TAO')
-rw-r--r-- | TAO/ChangeLogs/ChangeLog-02a | 6 | ||||
-rw-r--r-- | TAO/orbsvcs/orbsvcs/Naming/Flat_File_Persistence.cpp | 12 |
2 files changed, 13 insertions, 5 deletions
diff --git a/TAO/ChangeLogs/ChangeLog-02a b/TAO/ChangeLogs/ChangeLog-02a index f333d65621c..3ee231117af 100644 --- a/TAO/ChangeLogs/ChangeLog-02a +++ b/TAO/ChangeLogs/ChangeLog-02a @@ -1,3 +1,9 @@ +Wed Mar 27 12:31:33 2002 Priyanka Gontla <pgontla@ece.uci.edu> + + * orbsvcs/orbsvcs/Naming/Flat_File_Persistence.cpp (operator <<): + Fixed the format specifier mismatch warnings on Redhat + IA64. Committing on behalf of Chad Elliott <elliott_c@ociweb.com> + Wed Mar 27 10:53:44 2002 Carlos O'Ryan <coryan@uci.edu> * orbsvcs/performance-tests/RTEvent/Makefile: diff --git a/TAO/orbsvcs/orbsvcs/Naming/Flat_File_Persistence.cpp b/TAO/orbsvcs/orbsvcs/Naming/Flat_File_Persistence.cpp index 102e7d6cad7..a67364773cc 100644 --- a/TAO/orbsvcs/orbsvcs/Naming/Flat_File_Persistence.cpp +++ b/TAO/orbsvcs/orbsvcs/Naming/Flat_File_Persistence.cpp @@ -55,7 +55,7 @@ TAO_NS_FlatFileWriter::operator <<( if (this->fout_ != 0) { ACE_OS::fprintf(this->fout_, "%u\n%s\n%d\n", - context_name.length(), + ACE_static_cast(unsigned int, context_name.length()), context_name.c_str(), size); ACE_OS::fflush(this->fout_); @@ -76,23 +76,25 @@ TAO_NS_FlatFileWriter::operator <<( ACE_CString id = record.id(); - ACE_OS::fprintf(this->fout_, "%u\n%s\n", id.length(), id.c_str()); + ACE_OS::fprintf(this->fout_, "%u\n%s\n", + ACE_static_cast (unsigned int, id.length()), + id.c_str ()); ACE_CString kind = record.kind(); ACE_OS::fprintf(this->fout_, "%u\n%s\n", - kind.length(), + ACE_static_cast(unsigned int, kind.length()), kind.c_str()); ACE_CString ior = record.ior(); ACE_OS::fprintf(this->fout_, "%u\n%s\n", - ior.length(), + ACE_static_cast(unsigned int, ior.length()), ior.c_str()); ACE_CString context_binding = record.context_binding(); ACE_OS::fprintf(this->fout_, "%u\n%s\n", - context_binding.length(), + ACE_static_cast(unsigned int, context_binding.length()), context_binding.c_str()); ACE_OS::fflush(this->fout_); |