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.
1 parent fe017da commit c6b2e39Copy full SHA for c6b2e39
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