fix docker and linux build

This commit is contained in:
Benjamin Sergeant 2020-09-28 11:56:49 -07:00
parent e61680ff0f
commit 61dbcc2b84
2 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@ FROM alpine:3.12 as build
RUN apk add --no-cache \
gcc g++ musl-dev linux-headers \
cmake mbedtls-dev make zlib-dev python3-dev ninja
cmake mbedtls-dev make zlib-dev python3-dev ninja git
RUN addgroup -S app && \
adduser -S -G app app && \

View File

@ -62,7 +62,7 @@ namespace ix
bool gzipDecompress(const std::string& in, std::string& out)
{
z_stream inflateState;
std::memset(&inflateState, 0, sizeof(inflateState));
memset(&inflateState, 0, sizeof(inflateState));
inflateState.zalloc = Z_NULL;
inflateState.zfree = Z_NULL;