diff options
author | Dwayne Boone <dwayne@zeroc.com> | 2014-07-21 15:20:01 -0230 |
---|---|---|
committer | Dwayne Boone <dwayne@zeroc.com> | 2014-07-21 15:20:01 -0230 |
commit | 81043224014fa1ee7bb9106ae4efb0418c9917b3 (patch) | |
tree | 2f7f36e99d03ac2790f7d05a8c5881fd9dd7c616 | |
parent | ICE-5481 use size_type for Stream startSize() return type (diff) | |
download | ice-81043224014fa1ee7bb9106ae4efb0418c9917b3.tar.bz2 ice-81043224014fa1ee7bb9106ae4efb0418c9917b3.tar.xz ice-81043224014fa1ee7bb9106ae4efb0418c9917b3.zip |
Fixed windows compiler error
-rw-r--r-- | cpp/include/Ice/BasicStream.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/include/Ice/BasicStream.h b/cpp/include/Ice/BasicStream.h index 75e43ad8026..2ebd21f2e4c 100644 --- a/cpp/include/Ice/BasicStream.h +++ b/cpp/include/Ice/BasicStream.h @@ -410,7 +410,7 @@ public: void endSize(size_type pos) { assert(pos >= 0); - rewrite(static_cast<Ice::Int>(b.size()) - pos - 4, pos); + rewrite(static_cast<Ice::Int>(b.size() - pos) - 4, pos); } void writeBlob(const std::vector<Ice::Byte>&); |