diff options
author | Jeremy Maitin-Shepard <jbms@google.com> | 2021-09-14 12:27:45 -0700 |
---|---|---|
committer | Jeremy Maitin-Shepard <jbms@google.com> | 2021-09-14 12:27:45 -0700 |
commit | 27dd7265403d8e8fed99a854b9c3e1db7d79525f (patch) | |
tree | 78b85604d58d6b6b79757e1e9c035fb06843d1a7 /c/common | |
parent | 62662f87cdd96deda90ac817de94e3c4af75226a (diff) | |
download | brotli-27dd7265403d8e8fed99a854b9c3e1db7d79525f.zip brotli-27dd7265403d8e8fed99a854b9c3e1db7d79525f.tar.gz brotli-27dd7265403d8e8fed99a854b9c3e1db7d79525f.tar.bz2 |
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 20ba73a..dc29110 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; } |