We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f06bf56 + 3b23a3b commit 4f09b8eCopy full SHA for 4f09b8e
cdoc/Tar.cpp
@@ -150,7 +150,7 @@ libcdoc::TarConsumer::writeHeader(Header &h, int64_t size) {
150
151
libcdoc::result_t
152
libcdoc::TarConsumer::writePadding(int64_t size) {
153
- static std::array<uint8_t,BLOCKSIZE> pad {};
+ static const std::array<uint8_t,BLOCKSIZE> pad {};
154
auto padSize = padding(size);
155
if(auto rv = _dst->write(pad.data(), padSize); rv != padSize)
156
return rv < OK ? rv : OUTPUT_ERROR;
0 commit comments