mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-10-02 04:02:23 +03:00
Solaris: Rename local variable to avoid conflict with system headers
This commit is contained in:
1 parent
6597a470c7
commit
a4e5719d31
1 file changed
+4
-4
+4
-4
@@ -55,15 +55,15 @@ std::string cmBase32Encoder::encodeString(unsigned char const* input,
|
||||
size_t remain = static_cast<size_t>(end - input);
|
||||
if (remain != 0) {
|
||||
// Temporary source buffer filled up with 0s
|
||||
unsigned char extended[blockSize];
|
||||
unsigned char padded[blockSize];
|
||||
for (size_t ii = 0; ii != remain; ++ii) {
|
||||
extended[ii] = input[ii];
|
||||
padded[ii] = input[ii];
|
||||
}
|
||||
for (size_t ii = remain; ii != blockSize; ++ii) {
|
||||
extended[ii] = 0;
|
||||
padded[ii] = 0;
|
||||
}
|
||||
|
||||
Base32Encode5(extended, buffer);
|
||||
Base32Encode5(padded, buffer);
|
||||
size_t numPad(0);
|
||||
switch (remain) {
|
||||
case 1:
|
||||
|
||||
Reference in new issue
Block a user