diff options
author | Jyrki Alakuijala <jyrki.alakuijala@gmail.com> | 2021-12-07 01:47:07 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-07 01:47:07 +0100 |
commit | 4ec67035c0d97c270c1c73038cc66fc5fcdfc120 (patch) | |
tree | 2a6fb79958091ecc65d84b08cf00eb4795f0e707 /c/common | |
parent | 8376f72ed6a8ca01548aad1a4f4f1df33094d3e0 (diff) | |
parent | 27dd7265403d8e8fed99a854b9c3e1db7d79525f (diff) | |
download | brotli-4ec67035c0d97c270c1c73038cc66fc5fcdfc120.zip brotli-4ec67035c0d97c270c1c73038cc66fc5fcdfc120.tar.gz brotli-4ec67035c0d97c270c1c73038cc66fc5fcdfc120.tar.bz2 |
Merge pull request #929 from jbms/fix-vla-parameter
Fix -Werror=vla-parameter errors with GCC 11.2.0
Diffstat (limited to 'c/common')
-rw-r--r-- | c/common/shared_dictionary.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/c/common/shared_dictionary.c b/c/common/shared_dictionary.c index a6d8794..3ca40c0 100644 --- a/c/common/shared_dictionary.c +++ b/c/common/shared_dictionary.c @@ -460,7 +460,7 @@ void BrotliSharedDictionaryDestroyInstance( BROTLI_BOOL BrotliSharedDictionaryAttach( BrotliSharedDictionary* dict, BrotliSharedDictionaryType type, - size_t data_size, const uint8_t* data) { + size_t data_size, const uint8_t data[BROTLI_ARRAY_PARAM(data_size)]) { if (!dict) { return BROTLI_FALSE; } |