summaryrefslogtreecommitdiffstats
path: root/Source/cmBase32.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmBase32.cxx')
-rw-r--r--Source/cmBase32.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmBase32.cxx b/Source/cmBase32.cxx
index 091d619..1dac212 100644
--- a/Source/cmBase32.cxx
+++ b/Source/cmBase32.cxx
@@ -58,7 +58,7 @@ std::string cmBase32Encoder::encodeString(const unsigned char* input,
input += blockSize;
}
- size_t remain(end - input);
+ size_t remain = static_cast<size_t>(end - input);
if (remain != 0) {
// Temporary source buffer filled up with 0s
unsigned char extended[blockSize];