diff options
author | Dwayne Boone <dwayne@zeroc.com> | 2005-03-07 14:15:10 +0000 |
---|---|---|
committer | Dwayne Boone <dwayne@zeroc.com> | 2005-03-07 14:15:10 +0000 |
commit | bcf0ceb584580049a250a850f8f4cc9ac2441608 (patch) | |
tree | ca9e1035ddfcb490a4a8e93acc193c66c7b172fb /cpp/src/FreezeScript/Transformer.cpp | |
parent | Added instructions to add . to LD_LIBRARY_PATH (diff) | |
download | ice-bcf0ceb584580049a250a850f8f4cc9ac2441608.tar.bz2 ice-bcf0ceb584580049a250a850f8f4cc9ac2441608.tar.xz ice-bcf0ceb584580049a250a850f8f4cc9ac2441608.zip |
Get rid of a bunch of 64bit warnings on Sun
Diffstat (limited to 'cpp/src/FreezeScript/Transformer.cpp')
-rw-r--r-- | cpp/src/FreezeScript/Transformer.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cpp/src/FreezeScript/Transformer.cpp b/cpp/src/FreezeScript/Transformer.cpp index 6546b27cae5..c85cc3f9e10 100644 --- a/cpp/src/FreezeScript/Transformer.cpp +++ b/cpp/src/FreezeScript/Transformer.cpp @@ -1901,7 +1901,8 @@ FreezeScript::RecordDescriptor::execute(const SymbolTablePtr& sym) { Ice::ByteSeq outKeyBytes, outValueBytes; transformRecord(inKeyBytes, inValueBytes, outKeyBytes, outValueBytes); - Dbt dbNewKey(&outKeyBytes[0], outKeyBytes.size()), dbNewValue(&outValueBytes[0], outValueBytes.size()); + Dbt dbNewKey(&outKeyBytes[0], static_cast<unsigned>(outKeyBytes.size())), + dbNewValue(&outValueBytes[0], static_cast<unsigned>(outValueBytes.size())); if(_info->newDb->put(_info->newDbTxn, &dbNewKey, &dbNewValue, DB_NOOVERWRITE) == DB_KEYEXIST) { _info->errorReporter->error("duplicate key encountered"); |