mirror of
https://github.com/ohwgiles/laminar.git
synced 2024-10-27 20:34:20 +00:00
fix pedantic 32-bit compile error
This commit is contained in:
parent
0e1b898002
commit
0e31fed78e
@ -684,7 +684,7 @@ void Laminar::runFinished(Run * r) {
|
||||
size_t logsize = r->log.length();
|
||||
if(r->log.length() >= COMPRESS_LOG_MIN_SIZE) {
|
||||
std::string zipped(r->log.size(), '\0');
|
||||
size_t zippedSize = zipped.size();
|
||||
unsigned long zippedSize = zipped.size();
|
||||
if(::compress((unsigned char*)&zipped[0], &zippedSize,
|
||||
(unsigned char*)&r->log[0], logsize) == Z_OK) {
|
||||
zipped.resize(zippedSize);
|
||||
|
Loading…
Reference in New Issue
Block a user