diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0d865fb21..5097e9d80 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -240,7 +240,6 @@ jobs: echo "-- runner.workspace: ${{ runner.workspace }}" echo "-- github.workspace: ${{ github.workspace }}" - name: Build tests - if: ${{ false }} run: | cmake ` --build build ` @@ -249,9 +248,7 @@ jobs: --target sfizz_tests ` --verbose ` - name: Run tests - if: ${{ false }} run: | - .\build\tests\${{ env.build_type }}\sfizz_tests.exe ctest ` --build-config ${{ env.build_type }} ` --debug ` diff --git a/external/st_audiofile/src/st_audiofile.c b/external/st_audiofile/src/st_audiofile.c index d29f6a2b7..6b6f3c6ef 100644 --- a/external/st_audiofile/src/st_audiofile.c +++ b/external/st_audiofile/src/st_audiofile.c @@ -185,7 +185,7 @@ static st_audio_file* st_generic_open_file(const void* filename, int widepath) #if defined(_WIN32) // WavPack expects an UTF8 input and has no widechar api, so we convert the filename back... unsigned wsize = wcslen(filename); - unsigned size = WideCharToMultiByte(CP_UTF8, 0, filename, wsize, NULL, 0, 0, NULL, NULL); + unsigned size = WideCharToMultiByte(CP_UTF8, 0, filename, wsize, NULL, 0, NULL, NULL); char *buffer = (char*)malloc((size+1) * sizeof(char)); WideCharToMultiByte(CP_UTF8, 0, filename, wsize, buffer, size, NULL, NULL); buffer[size] = '\0';