summaryrefslogtreecommitdiff
path: root/cpp/src/IcePatch/ClientUtil.cpp
diff options
context:
space:
mode:
authorMichi Henning <michi@zeroc.com>2003-05-30 06:13:39 +0000
committerMichi Henning <michi@zeroc.com>2003-05-30 06:13:39 +0000
commit63539f257131942912257a7f0663e2e70aab890b (patch)
tree017f7a35470a26bbd0c66dd521cd55f361799056 /cpp/src/IcePatch/ClientUtil.cpp
parent*** empty log message *** (diff)
downloadice-63539f257131942912257a7f0663e2e70aab890b.tar.bz2
ice-63539f257131942912257a7f0663e2e70aab890b.tar.xz
ice-63539f257131942912257a7f0663e2e70aab890b.zip
Changed C++ mapping of Slice byte from char to unsigned char.
Diffstat (limited to 'cpp/src/IcePatch/ClientUtil.cpp')
-rw-r--r--cpp/src/IcePatch/ClientUtil.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/IcePatch/ClientUtil.cpp b/cpp/src/IcePatch/ClientUtil.cpp
index b9f54b78b0b..e6fefd967da 100644
--- a/cpp/src/IcePatch/ClientUtil.cpp
+++ b/cpp/src/IcePatch/ClientUtil.cpp
@@ -83,7 +83,7 @@ IcePatch::getRegular(const RegularPrx& regular, ProgressCB& progressCB)
posBZ2 += static_cast<Int>(bytesBZ2.size());
- fileBZ2.write(&bytesBZ2[0], bytesBZ2.size());
+ fileBZ2.write(reinterpret_cast<const char*>(&bytesBZ2[0]), bytesBZ2.size());
if(!fileBZ2)
{
FileAccessException ex;
@@ -169,7 +169,7 @@ IcePatch::getRegular(const RegularPrx& regular, ProgressCB& progressCB)
progressCB.updateUncompress(totalBZ2, static_cast<Int>(pos));
- file.write(bytesBZ2, sz);
+ file.write(reinterpret_cast<const char*>(bytesBZ2), sz);
if(!file)
{
FileAccessException ex;