diff options
Diffstat (limited to 'cpp/include/Ice/StreamHelpers.h')
-rw-r--r-- | cpp/include/Ice/StreamHelpers.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/include/Ice/StreamHelpers.h b/cpp/include/Ice/StreamHelpers.h index 18943b2a4c6..d1862d9a9cd 100644 --- a/cpp/include/Ice/StreamHelpers.h +++ b/cpp/include/Ice/StreamHelpers.h @@ -632,7 +632,7 @@ struct StreamOptionalHelper<T, StreamHelperCategoryStruct, false> template<class S> static inline void write(S* stream, const T& v) { - int pos = stream->startSize(); + size_t pos = stream->startSize(); stream->write(v); stream->endSize(pos); } |