Compare commits

...

6 Commits

2 changed files with 5 additions and 5 deletions

View File

@ -11,12 +11,12 @@ jobs:
runs-on: macos-latest runs-on: macos-latest
steps: steps:
- name: Set environment variables - name: Set environment variables
run: echo "PATH=/usr/local/opt/qt@5/bin:$PATH" >> $GITHUB_ENV run: echo "PATH=/usr/local/opt/protobuf@21/bin:$PATH" >> $GITHUB_ENV
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v3
- name: Install dependencies - name: Install dependencies
run: brew install qt5 protobuf run: brew install qt6 protobuf@21
- name: Configure build - name: Configure build
run: qmake PROTOBUF=/usr/local pbfplugin.pro run: qmake PROTOBUF=/usr/local/opt/protobuf@21 pbfplugin.pro
- name: Build project - name: Build project
run: make -j3 run: make -j3

View File

@ -6,7 +6,7 @@
QByteArray Gzip::uncompress(QIODevice *device, int limit) QByteArray Gzip::uncompress(QIODevice *device, int limit)
{ {
int ret; int ret = Z_STREAM_END;
z_stream strm; z_stream strm;
unsigned char in[CHUNK]; unsigned char in[CHUNK];
unsigned char out[CHUNK]; unsigned char out[CHUNK];